From: "Moti Levy" <moti@flncs.com>
To: netfilter EMAIL <netfilter@lists.netfilter.org>
Subject: Re: top level rules
Date: Mon, 12 May 2003 09:24:35 -0400 [thread overview]
Message-ID: <00b701c31889$d6b63f40$0901010a@bvg6> (raw)
In-Reply-To: 1052743756.1399.0.camel@xbox
iptables -L -n --line0numbers will list the rule numbers
iptables -I CHAINNAME rulenumber_to_insert REST OF RULE
----- Original Message -----
From: "Filip Sneppe" <filip.sneppe@cronos.be>
To: "Patrick Ahler" <patrick@vikus.com>
Cc: "netfilter EMAIL" <netfilter@lists.netfilter.org>
Sent: Monday, May 12, 2003 8:49 AM
Subject: Re: top level rules
> On Mon, 2003-05-12 at 14:25, Patrick Ahler wrote:
> > Is there any way to insert a new rule at the top of a table...
> >
> > For instance, I have rules...
> >
> > RULE 1
> > RULE 2
> > RULE 3
> > RULE 4
> >
> > in order... but what if I want to place a rule before rule 1? Is that
> > possible?
>
> Yes, just use the -I (insert) option of iptablesinstead of -A (append).
>
> Regards,
> Filip
>
>
>
>
next prev parent reply other threads:[~2003-05-12 13:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-12 12:25 top level rules Patrick Ahler
2003-05-12 12:49 ` Filip Sneppe
2003-05-12 13:24 ` Moti Levy [this message]
2003-05-12 13:06 ` Ray Leach
2003-05-12 13:07 ` Rob Sterenborg
2003-05-12 13:08 ` Zander
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='00b701c31889$d6b63f40$0901010a@bvg6' \
--to=moti@flncs.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox