static NAT ipchains: yes or no?

This is a discussion on static NAT ipchains: yes or no? within the Linux Networking forums, part of the Linux Forums category; Using RH 7.3. Does ipchains support static NAT (see below) or not? I haven't been able to find ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2004
RR
 
Posts: n/a
Default static NAT ipchains: yes or no?

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 Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:15 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0