Hi there, I need to setup iptables rules to tee the traffic, so I've tried to add the following rule: $> iptables -t mangle -A PREROUTING -j TEE --gateway xxx.xxx.xxx.xxx But the command gives an error, says $> iptables: Invalid argument. Run `dmesg' for more information. I've checked output of dmesg, there is no messages related to iptables. Please help... Some more information: kernel: 2.6.19.2 iptables: v1.4.11.1 xtables-addons: 1.41 $> lsmod ipt_TOS 1664 0 - Live 0xbf063000 iptable_mangle 2048 0 - Live 0xbf061000 xt_TEE 2740 0 - Live 0xbf05f000 compat_xtables 7584 1 xt_TEE, Live 0xbf05c000 xt_tcpudp 2656 7 - Live 0xbf022000 xt_state 1696 1 - Live 0xbf020000 ipt_REJECT 3328 2 - Live 0xbf01e000 xt_multiport 2880 1 - Live 0xbf01c000 xt_conntrack 2144 1 - Live 0xbf01a000 ip_conntrack 47188 2 xt_state,xt_conntrack, Live 0xbf00d000 nfnetlink 5336 1 ip_conntrack, Live 0xbf00a000 iptable_filter 2176 1 - Live 0xbf008000 ip_tables 12104 2 iptable_mangle,iptable_filter, Live 0xbf004000 x_tables 12068 8 ipt_TOS,compat_xtables,xt_tcpudp,xt_state,ipt_REJECT,xt_multiport,xt_conntrack,ip_tables, Live 0xbf000000 And I've tried other rules, such as $> iptables -t mangle -A PREROUTING -p tcp --dport 25 -j TOS --set-tos 0x04 that is working fine. -- Ye -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html