IP Forwarding with IP tables

Gavin McDonald gavitron at gmail.com
Thu Oct 13 17:39:00 UTC 2005


I'm guessing, but don't you have to have the NAT'd IPs sasigned to eth1?
Then get ipchains to route the outbound traffic from 10.1.1.141 to the
internet via x.y.z.141?

Regards,

Gavin McDonald
========================
EVI Logistic Enterprises
email: me at gavitron.com
phone: (604) 313-3845



> -----Original Message-----
> From: redhat-list-bounces at redhat.com [mailto:redhat-list-
> bounces at redhat.com] On Behalf Of Gary Stainburn
> Sent: Thursday, October 13, 2005 10:05 AM
> To: General Red Hat Linux discussion list
> Subject: IP Forwarding with IP tables
> 
> 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
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list