Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Rohan Almeida <arc_of_descent@gmx.net>
To: netfilter@lists.netfilter.org
Subject: Re: HELP : How to group IP addresses by refering to them as a single name ?
Date: Thu, 19 Sep 2002 15:07:34 +0530	[thread overview]
Message-ID: <20020919150734.51d3c1d4.arc_of_descent@gmx.net> (raw)
In-Reply-To: <20020919074555.18679.qmail@web40202.mail.yahoo.com>

Alok Shukla <alokshukla@yahoo.com> thus wrote:

> iptables -t nat -D POSTROUTING -s 192.168.0.11-50  -d
> any/0 -J MASQUERADE

Well, I don't think the above option is available
with the current version of iptables
Why don't u create subnets.

for eg. for 8 ips from 192.168.0.0 - 192.168.0.7
u can use "-s 192.168.0.7/29"

similarly for 192.168.0.8 - 192.168.0.15
u can use "-s 192.168.0.15/29"

Just a suggestion :-)
Might not be the most appropriate

But, i would normally create some shell or perl
scripts to manipulate the ips

--
arc_of_descent


  reply	other threads:[~2002-09-19  9:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200209041320.g84DKjv31137@vulcan.rissington.net>
2002-09-19  7:45 ` HELP : How to group IP addresses by refering to them as a single name ? Alok Shukla
2002-09-19  9:37   ` Rohan Almeida [this message]
2002-09-19 13:01   ` Antony Stone
2002-09-19 18:00     ` Alok Shukla
2002-09-19 19:33       ` Antony Stone
2002-09-20  2:55         ` Joel Newkirk
2002-09-20 12:43         ` Alok Shukla
2002-09-20 13:11           ` Antony Stone
2002-09-21  5:34             ` Darrell A. Escola
2002-09-21  8:01               ` Antony Stone

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=20020919150734.51d3c1d4.arc_of_descent@gmx.net \
    --to=arc_of_descent@gmx.net \
    --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