[Firewall] mangling TOS:

Lampa lampacz at gmail.com
Fri Mar 27 10:07:14 CET 2009


Hello,

is not bug but some idea:

Check if existing mangle table before mangling TOS:

+ echo 'Enabling mangling TOS'
+ IFS=' ,'
+ for interface in '$EXT_IF'
+ /sbin/iptables -t mangle -A OUTPUT -o eth1 -p tcp --dport 20 -j TOS
--set-tos Maximize-Throughput
iptables: No chain/target/match by that name
+ /sbin/iptables -t mangle -A OUTPUT -o eth1 -p tcp --dport 21 -j TOS
--set-tos Minimize-Delay
iptables: No chain/target/match by that name

mangle isn't compiled by mistake :(

-- 
Lampa


More information about the Firewall mailing list