[wplug] iptables multiple addresses?
James O'Kane
jo2y at midnightlinux.com
Sat Dec 14 14:23:11 EST 2002
On Sat, 14 Dec 2002, Henry Umansky wrote:
> I always thought you don't have to put the full address like
> 111.111.111.0/255.255.255.0, you can just put 111.111.111.0/0,
> 111.111.111.0/128, 111.111.111.0/192, etc. or even if you just wanted a
> range of ips from say 155-163 then you can just put 111.111.111.155/248 or
> something like that. Can someone clarify this, especially if I'm wrong.
The number you want after the / is the number of bits set to 1 in the
netmask, common ones are 255.255.255.0 is /24, 255.255.0.0 is /16,
255.0.0.0 is /8.
-james
More information about the wplug
mailing list