strange problem with ipfw and rc.conf

Logan lashby at gmail.com
Thu Jan 26 16:12:37 PST 2006


On 1/26/06, gahn <ipfreak at yahoo.com> wrote:
>
>
> I have strange probelm with rc.conf. I set up ipfw
> (compiled into kernel) on freebsd-5.4 and it doesn't
> seem to load ipfw rulesets (it uses default ruleset
> 65335 locking out everything). I have to do "sh
> /etc/ipfw.rules" in order to load the rulesets, once I
> did that, I can access the box from remote locations
> ...
> firewall_script="/etc/ipfw.rules"
> firewall_type="simple"
>

firewall_enable="YES"
firewall_type="/etc/ipfw.rules"

delete firewal_script=/etc/ipfw.rules", the default rc.conf already has the
correct value for what you're trying to do.


More information about the freebsd-questions mailing list