IP Forwarding with IP tables

Gary Stainburn gary.stainburn at ringways.co.uk
Thu Oct 13 16:55:41 UTC 2005


Hi folks.

probably a FAQ but I'm struggling.
I have an internet connection linked to eth1 and a LAN connected to eth0

I want to set up simple 1-to-1 NATing thus:

x.y.z.141   == 10.1.1.141
x.y.z.142   == 10.1.1.142
x.y.z.143   == 10.1.1.143

so that incoming traffic to .141 goes to the right place.  This bit I've 
sorted. but the problem I've got is how do I get the outgoing to appear 
to come from the correct IP address and not the normal IP addres of 
eth1 
-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     




More information about the fedora-list mailing list