Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 10:19:06 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        chris <chris@dancingmoon-herbs.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw rules
Message-ID:  <20020307101905.B57408@xor.obsecurity.org>
In-Reply-To: <B3552F68-31E0-11D6-88F8-0003931C6896@dancingmoon-herbs.com>; from chris@dancingmoon-herbs.com on Thu, Mar 07, 2002 at 09:33:40AM -0600
References:  <B3552F68-31E0-11D6-88F8-0003931C6896@dancingmoon-herbs.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--24zk1gE8NUlDmwG9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 07, 2002 at 09:33:40AM -0600, chris wrote:
> I currently have a rule that denies all traffic not from an ip range=20
> in.  I need to open that up to allow two  distinct ip ranges in.  =20
> Obviously adding a second deny not will not allow anyone in, how do I do=
=20
> this?

Add an allow rule for the first range, an allow rule for the second
range, and a "deny all rule" after both of them to catch the rest.

Kris

--24zk1gE8NUlDmwG9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8h68ZWry0BWjoQKURAkNLAJ9/5vIjNl+5hZP68PuzRPaqLFA2+QCgknte
72wrhZBqcBAyPIiJvTVnL1A=
=N1UB
-----END PGP SIGNATURE-----

--24zk1gE8NUlDmwG9--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020307101905.B57408>