Do I need to recompile my standard kernel to enable ipfw?
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sun Aug 26 01:13:04 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Aminuddin wrote:
> 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.
Cheers,
Matthew
- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
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
iD8DBQFG0TYE8Mjk52CukIwRCLdeAJ9L40C893hhFZfoSuPVqIFf7JT17wCeNIKQ
fQ0N8JuSM/ikLnCgpucmQGM=
=h9ur
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list