Configure a firewall for mac os x using terminal

broken image
broken image

Sudo defaults write /Library/Preferences/ globalstate -int 1 Left corner of the Security pane and authenticate. Here’s how you configure the Application Firewall from the command line:

broken image

Using defaults write commands to turn on the firewall from the command line without adding any options enables default mode, which allows signedĪpplication network traffic and shared services traffic to pass. Utilizing SSH, ARD (Apple Remote Desktop), or other management tools to deliver shell commands to your remote system, youĬan enable or disable the default firewall, turn stealth mode on and off, and allow or block signed applications using simple Learn More Buy Configuring Client Systems Remotely Apple Training Series: Mac OS X Security and Mobility v10.6: A Guide to Providing Secure Mobile Access to Intranet Services Using Mac OS X Server v10.6 Snow Leopard