Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Enable and disable the firewall via AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Enable and disable the firewall via AppleScript
Authored by: MrMagoo on Feb 20, '09 05:22:52PM

Maybe another way, via terminal is:

ON:
sudo /sbin/ipfw enable firewall

OFF:
sudo /sbin/ipfw disable firewall

CHECK IPFW STATUS:
/usr/sbin/sysctl net.inet.ip.fw.enable
0 = Off, all in/out allowed.
1 = Running and active.

No side effects, ok with Tiger and Leopard.
I have used this for years.

Good luck.



[ Reply to This | # ]
10.5: Enable and disable the firewall via AppleScript
Authored by: brett_x on Feb 22, '09 12:30:09PM

That will enable or disable the IPFW, which is not the firewall used in 10.5. It certainly works in 10.5 (many argue that it works better than the 10.5 Application Firewall), but it should be noted that that's not what this hint is referring to.



[ Reply to This | # ]