Change IPFW default to allow

Tim Daneliuk tundra at
Sun Dec 9 18:24:26 UTC 2018

On 12/9/18 12:05 PM, Ernie Luzar wrote:
> Is there a sysctl nib to reset the ipfw default from deny all to allow all? Some thing that works without rebooting the system.

You can just run these commands:

  export FWCMD="ipfw -q"

  ${FWCMD} -f flush

  ${FWCMD} add 100 pass all from any to any via lo0
  ${FWCMD} add 200 deny all from any to
  ${FWCMD} add 300 deny ip from to any

  ${FWCMD} add 65000 pass all from any to any

Tim Daneliuk     tundra at
PGP Key:

More information about the freebsd-questions mailing list