From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Chandran Subject: Re: (no subject) Date: Thu, 06 Oct 2005 13:52:27 +0530 Message-ID: <4344DEC3.5020107@multitech.co.in> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Amresh Kumar Cc: netfilter@lists.netfilter.org Remove the second instance of -m iprange. Regards, Vinod C Amresh Kumar wrote: > Hi > I am new to iptables i have a problem in adding iptable rule i am > adding ip table rule > > iptables -A OUTPUT -p tcp -m iprange --src-range 10.0.0.1-10.0.0.20 > -m iprange --dst-range 61.12.43.1-61.12.43.20 -j ACCEPT > But i am getting following error > Bad argument `61.12.43.1-61.12.43.20' > Try `iptables -h' or 'iptables --help' for more information. > Actuall i am trying to drop destination iprange > 61.12.43.1-61.12.43.20 to source ip range 10.0.0.1-10.0.0.20 . > > Is their any other rule that i can add. plz help me > > Thanks and regard.. > > _________________________________________________________________ > Register with e-bay. > http://pages.ebay.in/msnindia/msn_quad_shopwingold_sept.html Win gold, > watches and more! > >