Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2002 11:20:02 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Mario Pranjic <mario.pranjic@irb.hr>
Cc:        security@FreeBSD.ORG
Subject:   Re: ipfw configuration
Message-ID:  <20020411112002.A30703@straylight.oblivion.bg>
In-Reply-To: <Pine.GSO.4.32.0204111012220.20726-100000@nippur.irb.hr>; from mario.pranjic@irb.hr on Thu, Apr 11, 2002 at 10:15:44AM %2B0200
References:  <Pine.GSO.4.32.0204111012220.20726-100000@nippur.irb.hr>

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

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

On Thu, Apr 11, 2002 at 10:15:44AM +0200, Mario Pranjic wrote:
> Hi!
>=20
> I'm configuring my first firewall on FreeBSD 4.5 release.
> The default rule is:
> 65535 deny ip from any to any
>=20
> I need to allow icmp, ssh, http, ftp and some other services.
> It's not a problem to allow such services, i.e:
> 00600 allow tcp from any to any 22 setup
>=20
>=20
> But what do I need to allow in generally, i.e allow al outgoing ports
> >1024.
>=20
> Can anyone give me some hints?

Yep; look at the ipfw(8) manual page, the RULE FORMAT section;
scroll down to the discussion of 'src and dst', find the sentence
that starts with 'With the TCP and UDP protocols, optional ports
may be specified as...', and read on :)

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If I had finished this sentence,

--3MwIy2ne0vdjdPXF
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

iEYEARECAAYFAjy1RzIACgkQ7Ri2jRYZRVN3lgCfVrP9gJYuyNJ+4fLOsP6Xpc5b
/u8AoJ/8ifQLV/dyuOf9d35RvI6O7CWK
=f1Pm
-----END PGP SIGNATURE-----

--3MwIy2ne0vdjdPXF--

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




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