Networking Forums

Networking Forums > Computer Networking > Linux Networking > static NAT ipchains: yes or no?

Reply
Thread Tools Display Modes

static NAT ipchains: yes or no?

 
 
RR
Guest
Posts: n/a

 
      02-16-2004, 01:26 AM
Using RH 7.3. Does ipchains support static NAT (see below) or not?

I haven't been able to find a definitive answer to this.

Specifically, I want to have NAT performed on an interface so that
10.1.1.0/24 is statically NATed to 192.168.1.0/24

So that:
10.1.1.1 maps to 192.168.1.1
10.1.1.2 maps to 192.168.1.2
etc.

That's static NAT according to the excellent document here:
http://www.suse.de/~mha/linux-ip-nat/diplom/node4.html

If the answer is "no", can you explain what this command is doing?
ipchains -A forward -s 10.1.1.0/24 -d 192.168.1.0/24 -i eth0 -j MASQ

If the answer is "yes", then is the above command right?

Documentation on ipchains is poor, at best, but this would *seem* to be
directing a static NAT setup.

However, it doesn't seem to work.

tia,
RR


 
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
IPChains David Linux Networking 1 11-26-2006 06:28 PM
IPChains and IPtables justme Linux Networking 3 06-04-2005 01:51 PM
Q: ipchains Karsten Linux Networking 1 12-01-2004 12:16 PM
Generating ipchains command from ipchains -L output. Vitto Linux Networking 4 03-06-2004 06:09 PM
ipchains and nat The Jacobsons Linux Networking 1 09-20-2003 11:05 AM



1 2 3 4 5 6 7 8 9 10 11