Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "myhapwcforever" <myhapwcforever@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Re: All interface specifications being replaced by ANYWHERE
Date: Mon, 12 Dec 2005 21:50:55 +0800	[thread overview]
Message-ID: <009401c5ff23$1538cf30$6501a8c0@ludi> (raw)
In-Reply-To: 001c01c5fd16$af0deb40$0201a8c0@shodan

> For example, the following rule:
> 
> iptables -A INPUT -m state --state NEW -i ! $EXTIF -j ACCEPT
What is the value of EXTIF?
 
> Ends up appearing in the iptables -L list as:
> 
> target     prot opt source               destination
> ACCEPT     all  --  anywhere             anywhere            state NEW
I think you did not "-d" option. It may mean anywhere.
iptables -A INPUT -d $ALLOWIP -m state --state NEW -i ! $EXTIF -j ACCEPT
ok?

  reply	other threads:[~2005-12-12 13:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-09 23:17 All interface specifications being replaced by ANYWHERE Grant Adamson
2005-12-12 13:50 ` myhapwcforever [this message]
2005-12-12 14:31 ` Leonardo Rodrigues Magalhães

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='009401c5ff23$1538cf30$6501a8c0@ludi' \
    --to=myhapwcforever@gmail.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