RE: IP Forwarding with IP tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx
phone: (604) 313-3845



> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] 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@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux