Jan, I replaced the real ip with X's, sorry for the confusion. On Wed, Jan 11, 2012 at 1:25 PM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote: > On Wednesday 2012-01-11 19:20, Ye Liu wrote: > >>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. > > xxx.xxx.xxx.xxx is of course not a valid IP address. -- 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