Subject: Help with ipchains and IP addresses
From: Gawain Reifsnyder (gawain@guitar.net)
Date: Mon Feb 25 2002 - 15:58:05 MST
I'm pretty new to ipchains and firewalls and I'm not familiar with
the method ipchains uses to filter ip addresses... Here's an example
of a filtering rule I've successfully set up:
ipchains -A input -s 212.95.11.0/24 -p all -j DENY
As I understand it, this filters the range of 212.95.11.0 through
212.95.11.255.
Let's say I want to filter just the range of 212.95.11.36 to
212.95.11.152. How would I do this?
Or, as a second example, what about a range in the second octet, like
212.95.11.xxx through 212.95.18.xxx?
Thanks for your help!
Gawain
This archive was generated by hypermail 2a24 : Mon Feb 25 2002 - 16:13:12 MST