On Wednesday 16 January 2002 14:54, Paul Jakma wrote:
> On Wed, 16 Jan 2002, Nick Murtagh wrote:
> > You need to set up two routing tables, one for each ISP, and then find
> > some way, using netfilter perhaps, to direct packets to the right
> > routing table.
>> if you can find out how to do that, let me know, cause i'm dealing
> with a very similar (nay identical) setup.
Say we have routers for ISPX and ISPY with IP addresses X and Y.
We source NAT incoming packets to either X or Y. Then return packets
have destination X or Y. What happens when those packets hit the
firewall?
Scenario A (good)
----------
* Packets forwarded to correct interface because of destination
address X or Y.
* Source NAT changes X or Y to the original source (and now destination)
address.
Scenario B (bad)
----------
* Source NAT changes X or Y to the original source (and now destination)
address.
* Packets forwarded to the incorrect interface because of default root.
In other words, what is the relative order of choosing the interface and
undoing the source NAT?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!