You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Remotely Activating Firewall

Hi all,


Is there a way to remotely activate the built-in firewall to selected Macs on ARD?


Kind Regards,


BigJava

Mac OS X (10.6.7)

Posted on Jun 29, 2011 4:21 AM

Reply
3 replies

Jun 30, 2011 1:56 AM in response to BigJava

Hi Bigjava,


Try this with a unix command through Apple Remote Desktop:

Get the current state of the firewall:

sudo defaults read /Library/Preferences/com.apple.alf globalstate


The result will print one of these numbers;

0 = de-activated

1 = on for specific services

2 = on for essential services


For instance if you want to enable essential only, send this command via remote desktop:


sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 2

Goodluck!


Jeffrey

Remotely Activating Firewall

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.