All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mart Frauenlob <mart.frauenlob@chello.at>
To: netfilter@vger.kernel.org
Subject: Re: Help deleting a rule
Date: Mon, 16 Nov 2009 22:45:35 +0100	[thread overview]
Message-ID: <4B01C7FF.9050200@chello.at> (raw)
In-Reply-To: <edc0e50f0911161339x1ceed507vc4baffa428cad1b7@mail.gmail.com>

Cameron Smith wrote:
> Hello,
>
> If I run:
> iptables -L -n -v |grep xx.xx.xx.xx
>
> I get:
> 112  6272 DROP       all  --  eth+   *       xx.xx.xx.xx         0.0.0.0/0
>
> I want to delete this specific rule.
> >From what is printed above how do I know what line this is to use this command?
>
> iptables -D INPUT x
>
> Where x is the line number?
>   

iptables -h

look for --line-numbers



  reply	other threads:[~2009-11-16 21:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 21:39 Help deleting a rule Cameron Smith
2009-11-16 21:45 ` Mart Frauenlob [this message]
2009-11-17 13:10 ` Paul Evans

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=4B01C7FF.9050200@chello.at \
    --to=mart.frauenlob@chello.at \
    --cc=netfilter@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.