Networking Forums

Networking Forums > Computer Networking > Linux Networking > trying to snat

Reply
Thread Tools Display Modes

trying to snat

 
 
merrittr
Guest
Posts: n/a

 
      10-17-2007, 08:59 PM
Hi iptables gurus

could someone assume the lotus position and tell me how to reverse nat
properly


iptables -t nat -A POSTROUTING -d 208.185.9.1 -s 208.185.9.0/24 -p tcp
--dport 18245 -j SNAT --to 208.185.9.236


I am trying to map a private side address (208.185.9.0/24 I know I
know
its not a IEEE non-routable but anyway that is set up as a private
side)
any TCP coming in for port 18245 needs to goto 208.285.9.236 , which
doesn't have a gateway on it , and I need the packet edited to say the
source addr is the NATting router 208.185.9.1 (backend) 128.233.18.148
frontend does my above command look valid? If so how do I see that its
being used iptables -L doesn't show it?


more pertinent info:
rp# uname -a
Linux rp 2.4.30 #2 Thu May 5 03:57:22 EDT 2005 i686 unknown

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where the de-SNAT actually takes place? mati-006 Linux Networking 0 08-19-2006 03:58 PM
Racoon with SNAT Can2002 Linux Networking 1 08-10-2005 05:25 PM
SNAT Kevin Brown Linux Networking 1 07-06-2005 09:30 PM
bridging fw and snat Wolfgang Kohnen Linux Networking 1 06-20-2005 06:31 PM
how to set SNAT? cranium.2003@gmail.com Linux Networking 0 05-09-2005 02:51 PM



1 2 3 4 5 6 7 8 9 10 11