Problems with source routing
Hello
I have the following problem:
LAN<--->LINUX_ROUTER<--> 2 internet gateways
gateway1: adsl
gateway2: ppp connection
I want the following
Machines from LAN going to Internet tcp port 80 :-> gateway1 Machines from LAN goint to Internet tcp port 22 :-> gateway2 Everything else: -> gateway1
How can I acomplish this? I am using kernel 2.4.24
Can I combine dead gateway detection with the previous? how?
Greetings from Spain!
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Witaj Javier,
W Twoim liœcie datowanym 19 stycznia 2004 (13:35:04) mo¿na przeczytaæ:
JMR> Hello
JMR> I have the following problem:
JMR> LAN<--->LINUX_ROUTER<--> 2 internet gateways
JMR> gateway1: adsl
JMR> gateway2: ppp connection
JMR> I want the following
JMR> Machines from LAN going to Internet tcp port 80 :-> gateway1 JMR> Machines from LAN goint to Internet tcp port 22 :-> gateway2 Everything else: ->> gateway1
JMR> How can I acomplish this? I am using kernel 2.4.24
JMR> Can I combine dead gateway detection with the previous? how?
JMR> Greetings from Spain!
Hint: firewall mark + policy routing
Read the archives, its trivial.
Signature · 6 lines
Pozdrowienia, Robert mailto:[email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/