From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dmytro O. Redchuk" Date: Tue, 04 Apr 2006 07:34:44 +0000 Subject: Re: [LARTC] Not routing for 1 host? Message-Id: <20060404073444.GE4419@ldc.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Tue, Apr 04, 2006 at 09:25:21AM +0200, Joost Kraaijeveld wrote: > lartc-bounces@mailman.ds9a.nl wrote: > > lartc-bounces@mailman.ds9a.nl wrote: > >> Hi, > >> > >> I want to stop routing for 1 particular host in my network. I > >> thought that this would do it: > >> > >> iptables -D INPUT -d aaa.bbb.ccc.ddd -j DROP > >> iptables -D INPUT -s aaa.bbb.ccc.ddd -j DROP > > Ooops, silly me. Should be (as others pointed out): > > > > iptables -A INPUT -d aaa.bbb.ccc.ddd -j DROP > > iptables -A INPUT -s aaa.bbb.ccc.ddd -j DROP > > > > BTW: I always think very hard, RTFM and search with Google > > before I ask a stupid question... > > And I have to learn to type /copy & paste /pay attention to what I am doing > > iptables -A FORWARD -d aaa.bbb.ccc.ddd -j DROP > iptables -A FORWARD -s aaa.bbb.ccc.ddd -j DROP try iptables -I FORWARD 1 ...... to make this rule the first one. > > Groeten, > > Joost Kraaijeveld > Askesis B.V. > Molukkenstraat 14 > 6524NB Nijmegen > tel: 024-3888063 / 06-51855277 > fax: 024-3608416 > e-mail: J.Kraaijeveld@Askesis.nl > web: www.askesis.nl -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-' ` G.m-"^m`m' Dmytro O. Redchuk _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc