Problem with "ipfw flush"
lists at qwirky.net
Wed Jan 24 20:56:12 UTC 2007
Dan Mahoney, System Admin wrote:
> Hey all.
> In trying to tweak my firewall setup I'm using a file called
> However, it seems even though I copy my rules perfectly to that file,
> the system freezes up and locks me out when I do:
> ipfw -f flush; ipfw /etc/ipfw.rules
> I've also tried doing it as
> ipfw -f flush && ipfw /etc/ipfw.rules
> But to no avail.
> if it matters, ipfw is loaded as a kernel module, not compiled in.
I haven't used IPFW in a while but if I recall right IPFW has a default
policy of drop. So when you flush the ruleset your pass rules are all
You could run the command like: ipfw -f flush && ipfw /etc/ipfw.rules
That should allow you flush and load your ruleset. You may also want
to look into changing the default policy to accept. However this may
require you to adjust your rules depending on how you wrote them.
More information about the freebsd-questions