Date: Sun, 20 Feb 2005 19:36:24 +0100 From: Simon Barner <barner@gmx.de> To: SigmaX <scottclansman@cwazy.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: IPFW config Message-ID: <20050220183624.GG51280@zi025.glhnet.mhn.de> In-Reply-To: <421A21F4.1050509@cwazy.co.uk> References: <421A21F4.1050509@cwazy.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--hTiIB9CRvBOLTyqY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Set IPFW to allow traffic on ports 80, 10000, and 23 (That's the default= =20 > SSH port, right?) Nope, it's 22. > Then start IPFW with the kernel module (I know how to do this) Have you already read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.ht= ml? It describes how to enable ipfw in rc.conf, and how to specify a firewall script that loads the rules during the boot process. Suppose, your fw script is /etc/ipfw.rules. Then the following should (no warranty, of course ;-) load your rules without a reboot: # kldload ipfw.ko && sh /etc/ipfw.rules Simon --hTiIB9CRvBOLTyqY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCGNioCkn+/eutqCoRAqcLAKCKbqciZbYfXIKv/gC9Sz5HoWSPgQCgsX9w 3tHHhCnEGN4ntAZVZ8mdGTI= =X5z6 -----END PGP SIGNATURE----- --hTiIB9CRvBOLTyqY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050220183624.GG51280>