[LARTC] Not routing for 1 host?

Martin Volf mv at inv.cz
Tue Apr 4 09:00:43 CEST 2006


Joost Kraaijeveld 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
> 
> But that still shows traffic. What is the corract way to do that?

Hello,

maybe

iptables -I FORWARD -d aaa.bbb.ccc.ddd -j DROP
iptables -I FORWARD -s aaa.bbb.ccc.ddd -j DROP

Martin


More information about the LARTC mailing list