Re: Route by destination port?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

On 5/9/06, Robert Gabriel <ephemeric@xxxxxxxxx> wrote:
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
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux