Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 2010 16:56:37 +0200
From:      Maciej Suszko <maciej@suszko.eu>
To:        freebsd-questions@freebsd.org
Cc:        carmel_ny@hotmail.com
Subject:   Re: Configuring IPFW IP range
Message-ID:  <20100404165637.2124e14f@arsenic>
In-Reply-To: <BLU0-SMTP98F509F01B77C70EA14F82931A0@phx.gbl>
References:  <BLU0-SMTP98F509F01B77C70EA14F82931A0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/8mcI1Li_xtz0MiWz=Gt9Z6k
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Carmel NY <carmel_ny@hotmail.com> wrote:
> This is my first attempt at configuring IPFW. I have it up and
> running; however, I am not quite sure how to accomplish configuring
> it to block an IP range.
>=20
> Assume an IP range: 219.128.0.0 to 219.137.255.255
>=20
> That is an actual range: CHINANET Guangdong province network
>=20
> I want to block the entire range. I am not sure how to do it in IPFW.
> I have read the 'man' pages; however, I am not getting the syntax
> correct since I cannot get the range added.

#v+
tlhscd@arsenic:~ % ipcalc 219.128.0.0 - 219.137.255.255
deaggregate 219.128.0.0 - 219.137.255.255
219.128.0.0/13
219.136.0.0/15
#v-
--=20
regards, Maciej Suszko.

--Sig_/8mcI1Li_xtz0MiWz=Gt9Z6k
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAku4qK0ACgkQCikUk0l7iGpuGQCfT33evN/V2FwbJlsfNLaZoW1b
G4EAn3FrTU935RNXKsMAdmGPHrK/sYwC
=Aoys
-----END PGP SIGNATURE-----

--Sig_/8mcI1Li_xtz0MiWz=Gt9Z6k--



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