From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mart Frauenlob Subject: Re: Invalid arguments when using '-j TEE' Date: Wed, 11 Jan 2012 21:18:50 +0100 Message-ID: <4F0DEEAA.5020603@chello.at> References: Reply-To: mart.frauenlob@chello.at Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Ye Liu Cc: "netfilter@vger.kernel.org" , Dov Berliner On 11.01.2012 19:30, Ye Liu wrote: > Jan, I replaced the real ip with X's, sorry for the confusion. > > On Wed, Jan 11, 2012 at 1:25 PM, Jan Engelhardt 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@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Forget Jan, he once again proved he's the biggest asshole on the list.