Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Michael Gale <michael.gale@utilitran.com>
To: netfilter@lists.netfilter.org
Subject: Re: IPs blocked still able to connect
Date: Sun, 13 Jun 2004 13:58:59 -0600	[thread overview]
Message-ID: <20040613135859.51704919@mgalepc.utilitran.com> (raw)
In-Reply-To: <200406131936.i5DJaTnI004263@ylpvm01.prodigy.net>

Hello,

	You should be able to "man iptables"

-A, --append chain rule-specification
              Append one or more rules to the end of the selected chain.  When
the source and/or destination names resolve to more than  one             
address, a rule will be added for each possible address combination.

-I, --insert chain [rulenum] rule-specification
              Insert one or more rules in the selected chain as the given rule
number.  So, if the rule number is 1, the rule or  rules  are             
inserted at the head of the chain.  This is also the default if no rule number
is specified.



On Sun, 13 Jun 2004 12:36:55 -0700
"Spiro Azkoul" <spiro@snacorp.net> wrote:

> 
> 
> t
> 
> Hello,
> 
> 	You are using "iptables -A" ... this will append this rule to your
> list. If you
> have an accept rule further up that this connection would match then it will
> be
> accepted but it hits this rule.
> 
> You should do a "iptables -I" to insert the rule at the top.
> 
> Michael.
> 
> I am not sure I understand the difference between -I and -A
> Where can I find docs on this?
> Thanks Michael
> 
> 
> 
> 
> 
> 
> 
> 


-- 
Michael Gale
Network Administrator
Utilitran Corporation


  reply	other threads:[~2004-06-13 19:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-12 20:18 IPs blocked still able to connect Spiro Azkoul
2004-06-12 20:38 ` Antony Stone
2004-06-12 20:46   ` Spiro Azkoul
2004-06-13 19:22 ` Michael Gale
2004-06-13 19:36   ` Spiro Azkoul
2004-06-13 19:58     ` Michael Gale [this message]
2004-06-13 23:59       ` Spiro Azkoul
2004-06-14  1:02         ` Alexis
2004-06-14  8:54       ` Spiro Azkoul
2004-06-14 15:32         ` Michael Gale

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=20040613135859.51704919@mgalepc.utilitran.com \
    --to=michael.gale@utilitran.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