RE: ROUTE woes ?

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

 



>> gate:/usr/src# iptables -t mangle -A FORWARD -p tcp --dport 80 -j ROUTE --
>> oif eth2
>
>  It must be used on the POSTROUTING chain of the mangle table.

Hm this sounds somewhat illogical: to route when "routing has already been 
done" (latin: postrouting). It also requires to have something like:

	ipt -t mangle -A FORWARD -i eth1 -j MARK --set-mark 7
	ipt -t mangle -A POSTROUTING -m mark --mark 7 -j ROUTE

instead of just

	ipt -t mangle -A FORWARD -i eth1 -j ROUTE


Jan Engelhardt
-- 


[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