IPFW config

Simon Barner barner at gmx.de
Sun Feb 20 18:36:07 GMT 2005


> Set IPFW to allow traffic on ports 80, 10000, and 23 (That's the default 
> 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.html?

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050220/6ceea958/attachment.bin


More information about the freebsd-questions mailing list