Do I need to recompile my standard kernel to enable ipfw?
m.seaman at infracaninophile.co.uk
Sun Aug 26 01:13:04 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
> Do I need to do the above if I'm not using the NAT function?
> I'm using 6.2 release.
No. IPFW is available via a loadable kernel module. Just add
firewall_enable="YES" to /etc/rc.conf, choose your firewall type
from /etc/rc.firewall and add firewall_type="FOO" also to
/etc/rc.conf plus write yourself a custom ruleset if you need
something other than one of the prepackaged ones. Then reboot and test.
However, beware that the default setting without any firewall rules
installed is 'block everything via the network', so make sure you've
got console access when setting this up.
Also, I'd definitely recommend using PF rather than IPFW. Mostly
that's personal preference, but I've used both IPFW and PF quite
extensively, and IMHO PF blows IPFW out of the water.
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the freebsd-questions