ipfw rules for low-end server??

Bill Moran wmoran at potentialtech.com
Wed May 21 06:04:56 PDT 2003

> On Wed, 2003-05-21 at 04:10, Andras Kende wrote:
>>Also should set to kernel with: option IPFIREWALL_VERBOSE for debugging
>>purposes if needed
>>but disable logging firewall_logging=NO at rc.conf ?
>>I want to allow everything to go out, only 22tcp,80tcp 53udp and 25tcp
>>(port_forwading) to in...

See /etc/rc.firewall for an example that does just about everything you
require here.  You'll have to add a rule for port 22, but you should be
able to discern what to do from that file.

Post here again if not.

Bill Moran
Potential Technologies

More information about the freebsd-questions mailing list