[LARTC] Not routing for 1 host?
Dmytro O. Redchuk
dor at ldc.net
Tue Apr 4 09:34:44 CEST 2006
On Tue, Apr 04, 2006 at 09:25:21AM +0200, Joost Kraaijeveld wrote:
> 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
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 at Askesis.nl
> web: www.askesis.nl
--
_,-=._ /|_/|
`-.} `=._,.-=-._., @ @._,
`._ _,-. ) _,.-'
` G.m-"^m`m' Dmytro O. Redchuk
More information about the LARTC
mailing list