Holger wrote:
Hello!
This arguments never run on my system, but I need this:
#!/bin/bash -x
echo "1"
iptables -t mangle -p tcp -d 0/0 --dport 80 -j MARK --set-mark 2
To what chain this rule goes? Probably FORWARD
iptables -t mangle -I FORWARD -p tcp -d 0/0 --dport 80 -j MARK --set-mark 2
echo "2"
echo "201 T1" >> /etc/iproute2/rt_tables
echo "3"
ip rule add fwmark 2 table T1
ip rule add fwmark 2 lookup T1
echo "4"
ip route add default via 192.168.21.2 dev eth1 table T1
You probably still have old route
When you know what is wrong, please send a step by step tutorial or
personal in german at my e-mail addy.
I think it's lame to be admin and ask step by step tutorials
Afterall, what is your head meant for?
Thank you very much.
You're welcome.
begin:vcard
fn;quoted-printable:Art=C5=ABras =C5=A0lajus
n;quoted-printable;quoted-printable:=C5=A0lajus;Art=C5=ABras
email;internet:x11@xxxxxxxxxxxxx
tel;cell:+37068958733
x-mozilla-html:FALSE
url:http://h2o.sky.lt/
version:2.1
end:vcard