RE: Not routing for 1 host?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lartc-bounces@xxxxxxxxxxxxxxx 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...


Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld@xxxxxxxxxx
web: www.askesis.nl
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux