[LARTC] policy routing problem
Serdar KÖYLÜ
skoylu@gizemcafe.net
Tue, 9 Dec 2003 15:58:25 +0200
Hi, i'm a stupid :))
Sorry, i forget first policy: RTFM..
On Mon, 8 Dec 2003 20:21:06 +0200
Serdar KÖYLÜ <skoylu@gizemcafe.net> wrote:
> ip rule add fwmark 10001 table http
ip uses hexadecimal notation. This number really 0x10001
> ip route add default via 81.215.8.1 table http
> ip route flush cache
> iptables -t mangle -A PREROUTING -p tcp --dport 80 \
> -j MARK --set-mark 10001
but, iptables uses radix decimal.
I try "--set-mark 0x10001" and it's work fine..
>
> ip rule add from 212.174.154.219 table http
>
> Wow... This machine can't reach internet for this reason :(( No
> routing..
But this reason don't resolved.. Why ?
Thanks..