All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] dual-isp incoming traffic problems
@ 2005-10-11 23:26 Daniel Wittenberg
  2005-10-11 23:58 ` David Boreham
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Daniel Wittenberg @ 2005-10-11 23:26 UTC (permalink / raw)
  To: lartc

I have two ISP connections, and am having some issues.  I can connect to
any services on the firewall, like the smtp gateway, but anything on the
internal server only works from one connection.  The lartc guide has a
good example for what to do for services on the box, but leaves it open
for how to handle services on an internal host.  I've tried using
iptables to mark the packets incoming, but that doesn't seem to work.

ip route add default via 1.1.1.254 table T1 dev eth0
ip rule add from 1.1.1.2 table T1   **  Real IP
ip rule add from 1.1.1.3 table T1   **  eth0:0 IP
ip rule add from 1.1.1.4 table T1   **  eth0:1 IP
ip rule add fwmark 1 table T1

and similar for ISP connection #2, with:

ip route flush cache

as the last part.  Any ideas on how to get connections through to the
internal server from both ISP's?



ISP #1  -- 
           \                    
             -- Linux Firewall --  internal server
           /
ISP #2  --

Thanks,
Dan 
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-12  5:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-11 23:26 [LARTC] dual-isp incoming traffic problems Daniel Wittenberg
2005-10-11 23:58 ` David Boreham
2005-10-12  0:40 ` Daniel Wittenberg
2005-10-12  0:49 ` Nelson Castillo
2005-10-12  5:13 ` McDaeMonD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.