Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Christian Hesse <mail@earthworm.de>
To: netfilter@lists.netfilter.org
Subject: match all private addresses in one rule
Date: Sun, 20 Feb 2005 15:42:07 +0100	[thread overview]
Message-ID: <200502201542.12562.mail@earthworm.de> (raw)

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

Hello netfilter folks!

Is there a way to match all private addresses (10.0.0.0/8, 172.16.0.0/12, 
192.168.0.0/16) in only one rules? I think of something like

$ iptables -A INPUT -s private -j ACCEPT

I've googled for a solution, but couldn't find one yet.

Please cc as I'm not subscribed to the list.
-- 
Regards,
Christian

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

                 reply	other threads:[~2005-02-20 14:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200502201542.12562.mail@earthworm.de \
    --to=mail@earthworm.de \
    --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