[LARTC] Not routing for 1 host?

Joost Kraaijeveld J.Kraaijeveld at Askesis.nl
Tue Apr 4 09:25:21 CEST 2006


lartc-bounces at mailman.ds9a.nl wrote:
> lartc-bounces at 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
 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld at Askesis.nl
web: www.askesis.nl


More information about the LARTC mailing list