/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


Marcos Moura [mailto:[EMAIL PROTECTED]] wrote:
> For
> instance, this server4s IP address is 200.xxx.yyy.10 but it 
> should also receive all IP traffic addressed to 
> 200.xxx.yyy.15, 200.xxx.yyy.20 and 200.xxx.yyy.25 and 
> forward them to three different internal machines within
> my LAN, for example, 172.16.30.1, 172.16.30.2 and 172.16.30.3,
> respectively. Could someone help me with this stuff?

Provided that these IP addresses are routed to this machine by your ISP then
this is a simple matter of setting up the proper rules.  As you are running
RH 7.1 you have the option of using either ipchains or iptables for basic
firewalling and/or routing.  However, for what you are now looking for you
will need to use iptables.  Ipchains can provide this functionality, but the
ipchains support provided with 2.4.x kernels is not a complete ipchains
implimentation, it's actually a wrapper.  My iptables firewall script will
do everything you listed in your original posting.  You can get my script
from http://www.asgardsrealm.net/linux/firewall.

Jamin W. Collins

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to