Jan 14, '08 07:30:00AM • Contributed by: allanmarcus
It appears you can turn the Leopard firewall on or from the command line with this command:
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 1
The last value represents the state of the firewall, where:
- 0 = off
- 1 = on for specific services
- 2 = on for essential services
