All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dmytro O. Redchuk" <dor@ldc.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Not routing for 1 host?
Date: Tue, 04 Apr 2006 07:34:44 +0000	[thread overview]
Message-ID: <20060404073444.GE4419@ldc.net> (raw)
In-Reply-To: <A3D1526C98B7C1409A687E0943EAC4107DEBA4@obelix.askesis.nl>

On Tue, Apr 04, 2006 at 09:25:21AM +0200, Joost Kraaijeveld wrote:
> lartc-bounces@mailman.ds9a.nl wrote:
> > lartc-bounces@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@Askesis.nl
> web: www.askesis.nl

-- 
  _,-=._              /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
     `._ _,-.   )      _,.-'
        `    G.m-"^m`m'        Dmytro O. Redchuk


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      parent reply	other threads:[~2006-04-04  7:34 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
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 [this message]

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=20060404073444.GE4419@ldc.net \
    --to=dor@ldc.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.