* How to configure iptables for a group of IPs
@ 2006-08-02 11:00 Tolga Onbay
2006-08-02 12:05 ` Gáspár Lajos
0 siblings, 1 reply; 2+ messages in thread
From: Tolga Onbay @ 2006-08-02 11:00 UTC (permalink / raw)
To: netfilter
Hi,
I read the documents in netfilter.org. But I think i
missed something. My problem is,
In my network there is 2 group of people. These are
administrators, and limited users. All IPs in the
network are in the same block(192.168.1.0/24). I want
to block p2p and messenger programs to limited users.
But administrators should use the programs whenever
they want. For example the limited users' IP addresses
are
192.168.1.10
192.168.1.15
192.168.1.17
and administrators' IP adresses are
192.168.1.12
192.168.1.20
192.168.1.22
I want to block the p2p and messenger programs to .10,
.15 and .17 IPs. If there are 10 rules to block these
programs for one IP, there must be 30 rules to block
all these IPs. But there are so many IPs like 60 for
limited users and 30 for administrators. Also in the
future some groups can be added.
If there is something like defining a range of IP
addresses in iptables like 192.168.1.10-192.168.1.20,
I can configure the IP addresses of workers to match
this feature.
Thanks for your help
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to configure iptables for a group of IPs
2006-08-02 11:00 How to configure iptables for a group of IPs Tolga Onbay
@ 2006-08-02 12:05 ` Gáspár Lajos
0 siblings, 0 replies; 2+ messages in thread
From: Gáspár Lajos @ 2006-08-02 12:05 UTC (permalink / raw)
To: Netfilter IPtableMailinglist
Tolga Onbay:
> If there is something like defining a range of IP
> addresses in iptables like 192.168.1.10-192.168.1.20,
> I can configure the IP addresses of workers to match
> this feature.
>
iptables .... -m iprange --src-range 192.168.1.10-192.168.1.20
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-02 12:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-02 11:00 How to configure iptables for a group of IPs Tolga Onbay
2006-08-02 12:05 ` Gáspár Lajos
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.