All of lore.kernel.org
 help / color / mirror / Atom feed
From: "ITM CS Ruslan O. Nesterov" <ruslan@complexsystem.ru>
To: "netfilter @ lists . netfilter . org" <netfilter@lists.netfilter.org>
Subject: Re: how to delete a piece of rule in iptables?
Date: Wed, 18 Dec 2002 16:52:36 +0300	[thread overview]
Message-ID: <4165816408.20021218165236@complexsystem.ru> (raw)
In-Reply-To: <200212181222.UAA02783@email.whu.edu.cn>

Hello bobo,

Wednesday, December 18, 2002, 3:30:18 PM, you wrote:

b>              i have insert some rules to iptables firewall.now,i would 
b> like to delete it  .
b> but i only know to use iptalbes -L to empty them.
b> but it lead to delete all the rules in it.
b> how to do ??


Try to use
iptables -D INPUT 1
this will delete rule 1 in input chain

-- 
Best regards,
 ITM                            mailto:ruslan@complexsystem.ru




  parent reply	other threads:[~2002-12-18 13:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-18 12:30 how to delete a piece of rule in iptables? bobo
2002-12-18 11:18 ` Marcello Scacchetti
2002-12-18 13:52 ` ITM CS Ruslan O. Nesterov [this message]
2002-12-19  5:25   ` Narendra Prabhu. B
  -- strict thread matches above, loose matches on Subject: below --
2002-12-18 12:38 bobo
2002-12-19  1:09 ` Jason Huang
2002-12-19  9:56 ` Markus Schaber

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=4165816408.20021218165236@complexsystem.ru \
    --to=ruslan@complexsystem.ru \
    --cc=netfilter@lists.netfilter.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.