Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ray Leach <raymondl@knowledgefactory.co.za>
To: netfilter EMAIL <netfilter@lists.netfilter.org>
Subject: Re: top level rules
Date: 12 May 2003 15:06:01 +0200	[thread overview]
Message-ID: <1052744760.19485.13.camel@raylinux.internal> (raw)
In-Reply-To: <ABEKJILKOKKGGDJKHKDFEEAICBAA.patrick@vikus.com>

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

From the netfilter help (iptables --help)

"
 --insert  -I chain [rulenum]
                                Insert in chain as rulenum (default
1=first)
"

So ... iptable -I instead of iptables -A ....


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?
> Thanks,
> -Patrick
> 
> 
> 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2003-05-12 13:06 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
2003-05-12 13:06 ` Ray Leach [this message]
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=1052744760.19485.13.camel@raylinux.internal \
    --to=raymondl@knowledgefactory.co.za \
    --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