Re: fwmarks

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

 



On 1 Mar 2003, Esteban wrote:

> and then
> echo 201 www.out >> /etc/iproute2/rt_tables
> ip rule add fwmark 2 table www.out
> ip route add default gw via 1.1.1.1 dev ppp0
> ip route flush cache
>
> and does not work!.
> if i create a rule like
> ip rule add to 2.2.2.2 table www.out
> ip route flush cache
>
> that does work!..

Set [I guess location but key is to turn of rpfilter when using
policyrouting via fwmark]:
echo "0" > /proc/sys/net/ipv4/conf/ppp0/rp_filter

Regards
tw
-- 

----------------
 ck.eter.tym.pl

"Never let shooling disturb Your education"



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux