Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Martin Volf <mv@inv.cz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Not routing for 1 host?
Date: Tue, 04 Apr 2006 07:00:43 +0000	[thread overview]
Message-ID: <4432199B.3090607@inv.cz> (raw)
In-Reply-To: <A3D1526C98B7C1409A687E0943EAC4107DEBA4@obelix.askesis.nl>

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
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  reply	other threads:[~2006-04-04  7:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-04  6:55 [LARTC] Not routing for 1 host? Joost Kraaijeveld
2006-04-04  7:00 ` Martin Volf [this message]
2006-04-04  7:09 ` Dmytro O. Redchuk
2006-04-04  7:20 ` Joost Kraaijeveld
2006-04-04  7:25 ` Joost Kraaijeveld
2006-04-04  7:34 ` Dmytro O. Redchuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4432199B.3090607@inv.cz \
    --to=mv@inv.cz \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox