Route by destination port?
Hello all,
We have two ADSL lines configured on a single box, hence interfaces ppp0 & ppp1.
Is there a way to route packets to ppp0, say based on destination port 80 & other traffic like voice through ppp1?
Thanks.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
somthing like:
iptables -t mangle -A PREROUTING -p tcp --dport 80 -j MARK --set-mark 5 ip rule add fwmark 5 table 50
ip route add table 50 $isp dev ppp0
erez.
Quoted 6 lines · Robert Gabriel
Hello all,
We have two ADSL lines configured on a single box, hence interfaces ppp0 & ppp1.
Quoted 9 lines
Is there a way to route packets to ppp0, say based on destination port 80 & other traffic like voice through ppp1?
Thanks.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Thanks! Much appreciated.
Quoted 16 lines · Erez D
somthing like:
iptables -t mangle -A PREROUTING -p tcp --dport 80 -j MARK --set-mark 5 ip rule add fwmark 5 table 50
ip route add table 50 $isp dev ppp0erez.
Quoted 1 line · Robert Gabriel
Hello all,
We have two ADSL lines configured on a single box, hence interfaces ppp0 & ppp1.
Quoted 10 lines
Is there a way to route packets to ppp0, say based on destination port 80 & other traffic like voice through ppp1?
Thanks.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 7 lines · Robert Gabriel
Hello all,
We have two ADSL lines configured on a single box, hence interfaces ppp0 & ppp1.
Is there a way to route packets to ppp0, say based on destination port 80 & other traffic like voice through ppp1?
Yes, I ended up doing it this way[1]. Works great so far.
[1]
http://edseek.com/archives/2006/05/01/configuring-multipath-routing-for-ports-without-balancing/
Signature · 7 lines
Jason Boxman http://edseek.com/ - Linux and FOSS stuff _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Thanks, your document helped plenty. Does this work well with only the ROUTE target for Netfilter?
Does anyone know what the earliest kernel version is that supports this target?
Quoted 16 lines · Jason Boxman
Quoted 7 lines · Robert Gabriel
Hello all,
We have two ADSL lines configured on a single box, hence interfaces ppp0 & ppp1.
Is there a way to route packets to ppp0, say based on destination port 80 & other traffic like voice through ppp1?
Yes, I ended up doing it this way[1]. Works great so far.
[1]
http://edseek.com/archives/2006/05/01/configuring-multipath-routing-for-ports-without-balancing/--
Quoted 8 lines
Jason Boxman
http://edseek.com/ - Linux and FOSS stuff_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc