MASQing 2 global ips to 2 private ips how?

MASQing 2 global ips to 2 private ips how?

Post by T » Wed, 29 Mar 2000 04:00:00


I have a linux 2.2.14 server with 2 nics setup as a router doing
masqing for  10.x.x.x private network.  I have the extra two ips
aliased on the external nic in additional the server's own ip so:
eth0, eth0:1, eth0:2

Currently the machines on the private network MASQ using one global

What I want is to have my other two global ips send all traffic sent
to them, to a given private ip, then have that private ip forward its
traffic back out on that global ip.

so say incoming to global -->  

reply ->

I can see the incoming traffic with TCPDUMP getting to the
machine but doesn't seem to go back out.

I'm using ipchains w. ipmasqadm mfw to direct all traffic from the to the

can anyone help, or do I just need to dump linux for this server and
go to IP FILTER/Free BSD to accomplish this?

thanks! :)