Re: [LARTC] Route by destination port?

2006-05-10 Thread Robert Gabriel
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? On 09/05/06, Jason Boxman <[EMAIL PROTECTED]> wrote: On Tuesday 09 May 2006 08:59, Robert Gabriel wrote: > Hello all

Re: [LARTC] Route by destination port?

2006-05-09 Thread Jason Boxman
On Tuesday 09 May 2006 08:59, Robert Gabriel 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? Yes, I ended up doing it

Re: [LARTC] Route by destination port?

2006-05-09 Thread Robert Gabriel
Thanks! Much appreciated. On 09/05/06, Erez D <[EMAIL PROTECTED]> wrote: 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 <[EMAIL PROTECTED]> wrote: > Hell

Re: [LARTC] Route by destination port?

2006-05-09 Thread Erez D
somthing like:iptables -t mangle -A PREROUTING -p tcp --dport 80 -j MARK --set-mark 5ip rule add fwmark 5 table 50ip route add table 50 $isp dev ppp0erez.On 5/9/06, Robert Gabriel <[EMAIL PROTECTED]> wrote: Hello all,We have two ADSL lines configured on a single box, hence interfaces ppp0 & ppp1.I

[LARTC] Route by destination port?

2006-05-09 Thread 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? Thanks. ___ LARTC mailing list LARTC@mailman