[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IP range in pf.conf table.
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: IP range in pf.conf table.
- From: Stuart Henderson <stu_(_at_)_spacehopper_(_dot_)_org>
- Date: Wed, 13 Apr 2005 01:35:58 +0100
--On 12 April 2005 19:43 -0400, Nick Holland wrote:
Jason Crawford wrote:
Is there a way to list a range of IP addresses (not in CIDR format)
in a table in pf.conf for OpenBSD 3.6? The only way to specify a
range that I saw in the man page was in CIDR format, however
192.168.10.100 - 192.168.10.199 isn't a valid range in CIDR format.
It's often worth remembering the boundaries when you allocate IP
addresses, even if you have no intention of actually subnetting, it can
make it a lot easier to set filter policies.
A sick and convoluted way...
but, only five entries... :)
Or you can insert the output of "jot -w'192.168.1.%d, \' 100 100" if
you want to avoid both typing and binary (:
Visit your host, monkey.org