Changing the source address when accessing a different network

From: Stuart (stuart_anderson@techie.com)
Date: 02/25/03


From: stuart_anderson@techie.com (Stuart)
Date: 25 Feb 2003 07:12:26 -0800

I have a Linux RedHat 8.0 (2.4 Kernel) box set up as a
router/firewall.

It has 4 NICs which route to various private networks i.e.
10.1.x.x/16,10.2.x.x/16,10.3.x.x/16,192.168.127.x/24. The last NIC is
connected to a third party network which the 10.x.x.x networks need to
route to.

Unfortunately the third party network only allow connections from
192.168.127.x addresses and will not respond to hosts in the 10net
networks. I spoken to the people who supply the 192.168.127.x network
and they have said I should use NAT to change the source address of
the hosts on 10net networks when trying to access the 192.168.127.x
network and it will work fine.

I've looked up every resource I can find on NAT and Masquerading but
can't get the thing to work the 10net traffic still keeps it's source
address.

Can anyone reply with the iptables commands to get the Linux router to
change the source addresses?

TIA

Stuart



Relevant Pages

  • From new-scr
    ... social, biological and computer networks. ... is among those who dismiss the idea that scale-free theory ... having a certain number of connections ... The major data routers will typically have ...
    (soc.culture.romanian)
  • Re: Connecting networks
    ... ip of the BSD box as it's default gateway in network settings. ... The BSD box should automatically route any packets between imidiately ... connected networks without adding any static routes. ... preventing disallowed connections, but the above needs to work first. ...
    (freebsd-questions)
  • Re: Can XP bridge 2 private networks?
    ... > We have an XP box that is connected to 2 seperate private networks ... > I would like to bridge these connections so that machines on the ... To span 2 different subnets, you need to enable IP forwarding. ... Do a route print, and check for the persistent route. ...
    (microsoft.public.windowsxp.network_web)
  • RE: NT4 and 2000 Server do not apear in the My Network Places
    ... the Server service does not bind to the ... list must also have file and printer sharing turned on. ... Internet Connections", ... Networks" is in the list of components for the connection. ...
    (microsoft.public.win2000.networking)
  • RE: Win2k network cant browse
    ... the Server service does not bind to the ... list must also have file and printer sharing turned on. ... Internet Connections", ... Networks" is in the list of components for the connection. ...
    (microsoft.public.win2000.networking)