Делаю так:
root@cyclon / # iptables -t mangle -A POSTROUTING -m mark --mark 3
root@cyclon / # iptables -t mangle -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
all -- anywhere anywhere MARK match 0x3
root@cyclon / # tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 3 fw flowid 1:3
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
Почему он ругается на последнюю команду, и что с этим делать???
И в догонку, можно ли будет потом указать нужный ИП, и обязательно ли использовать magnle.
Заранее спасибо!!!