[H-GEN] Which IP address is used for masquerading?
Marshall, Joshua
MarshallJ at switch.aust.com
Mon May 29 22:13:02 EDT 2000
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Please observe the list's charter. ]
Hi all,
I've got two internet links here, with appropriate routing for certain IP
addresses. I'm wanting to masquerade internal machines on both links, using
the appropriate IP address for the link.
Here's a diagram to try to explain things:
+-----+ +----------+
| | | |<-> Link 1 IP A.B.C.D <-> Host A
| LAN |<->| Firewall |
| | | |<-> Link 2 IP W.X.Y.Z <-> Host B
+-----+ +----------+
I have the routing table in Firewall set to route packets to Host A via the
Link 1 interface, and packets to Host B via the Link 2 interface.
When I masquerade a packet from the LAN to Host B the packet is delivered
via Host B yet is masqueraded as A.B.C.D
Is there a way I can get the packet to be masqueraded as W.X.Y.Z ?? While
keeping packets to Host A masqueraded as A.B.C.D ??
Cheers,
Josh Marshall
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.
More information about the General
mailing list