tags:

views:

86

answers:

0

on mac 10.5 to change the fire wall rule I have to do this:

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

you can even look on this link: http://www.macosxhints.com/article.php?story=20080110103812947

but my problem is, I need to update an application that allow users to have access vpn based on the setting of a firewall.

how can I do the same operation above with mac 10.6.

Thank you