Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Alok Shukla <alokshukla@yahoo.com>
To: netfilter@lists.netfilter.org
Cc: Antony Stone <Antony@Soft-Solutions.co.uk>
Subject: HELP : How to group IP addresses by refering to them as a single name ?
Date: Thu, 19 Sep 2002 00:45:55 -0700 (PDT)	[thread overview]
Message-ID: <20020919074555.18679.qmail@web40202.mail.yahoo.com> (raw)
In-Reply-To: <200209041320.g84DKjv31137@vulcan.rissington.net>

HI,

I run a College Laboratory with two rooms for the
whole labaratory
I have given a static IP for each of the computers
from 192.168.0.1 to 192.168.0.254.

1. My Lab 1 has IP from 192.198.0.11 to 192.168.0.50
and Lab 2 has IP from 192.168.0.51 to 192.168.0.90

2. I run a Redhat Linux 7.3 Server that acts as a
masquerading server, DNS Server and a Web Server.Its
IP is 192.168.0.1

3. I also have Windows NT Server for running a domain
over the whole network.Its IP is 192.168.0.2

4. My each of the client machine has Windows XP
Professional running which acts as a CLient for WIN NT
Domain.Each computer has gateway setting as for Red
Hat Linux 7.3 machine.

5. My Iptables scripts allows everbody to access the
net through following command:-

iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -d
any/0 -j MASQUERADE

Now my problem :-

I want to have a set of rules so that i can group Lab
1 computers in one group and Lab 2 computers in
another group. In this I want to able to shutdown the
Internet facility by stopping its masquerading as a
whole by refering as a single name.

Like something like :-

iptables -t nat -D POSTROUTING -s "LAB1" -d any/0 -J
MASQUERADE

or rather

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

Is short i want to create groups and i want to
administer network access by refering to group of
computers rather than their respective IP addresses..
SOmething like name addressing or rather multicasting 
etc...or whatever

Alok Shukla

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


       reply	other threads:[~2002-09-19  7:45 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 ` Alok Shukla [this message]
2002-09-19  9:37   ` HELP : How to group IP addresses by refering to them as a single name ? Rohan Almeida
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=20020919074555.18679.qmail@web40202.mail.yahoo.com \
    --to=alokshukla@yahoo.com \
    --cc=Antony@Soft-Solutions.co.uk \
    --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