Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2003 09:04:54 -0400
From:      Bill Moran <wmoran@potentialtech.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ipfw rules for low-end server??
Message-ID:  <3ECB7976.3070108@potentialtech.com>
In-Reply-To: <1053521736.363.39.camel@asa.gascom.net.ru>
References:  <EGEDIDPPMCIONDEPOLNFOEDMCLAA.andras@kende.com> <1053521736.363.39.camel@asa.gascom.net.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ECB7976.3070108>