Networking Forums

Networking Forums > Computer Networking > Linux Networking > Iptables, iproute2 and multiple ISPs

Reply
Thread Tools Display Modes

Iptables, iproute2 and multiple ISPs

 
 
Dave {Reply Address in.sig}
Guest
Posts: n/a

 
      11-16-2003, 10:25 PM
I'm having fun and games with a RH7.3 machine trying to use two separate
ISPs.

Basic setup is a number of machines on a local 192.168.1.x network and a
single machine with eth0 connected to the internal network, eth1 connected
to a cable modem and ppp0 running to an ISDN provider. I've followed the
Firewall, Masquerade and Advance Routing HOWTOs to the point where I can
connect out to anywhere on the correct interface (default via the cable
modem, other ISP via the ISDN link) and I can get incoming stuff to the
local mail and web servers via the eth1 cable link (these are not on the
firewall/gateway machine). The other ISP can successfully connect to the
mail server via the ppp0 link because the default route to its mail machine
is specified as via ppp0.

The bit that I'm stuck on is that according to the Advanced Routing HOWTO, I
ought to be able to accept connections to the webserver via ppp0 and have
the system correctly send the responses back out on that link. I can see
using netstat that the SYN has been received but there is no trace of a
response, which I suspect is going out on eth1 and so being ignored.

I suspect it's the masquerade settings that are at fault, not tracking the
source IP address for return packets correctly.

So, can I get it to do what I want or have I misunderstood what's possible?

Dave
--
mail: da (E-Mail Removed) (without the space)
http://www.llondel.org/
So many gadgets, so little time...

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables and multiple ip-addresses? Manuel Garcia Linux Networking 4 01-08-2007 06:29 PM
iptables: How to specify multiple address bolero92@yahoo.com Linux Networking 2 07-10-2006 02:00 PM
iptables with multiple links gaurms@hotmail.com Linux Networking 0 07-02-2005 03:18 PM
iptables, NAT and multiple subnets - how? ERACC Linux Networking 1 10-06-2003 11:43 PM
Multiple ISPs on a single line Lasitha Broadband 5 09-20-2003 07:30 PM



1 2 3 4 5 6 7 8 9 10 11