Skip to main content
Solved

Turning on Firewall

  • September 1, 2016
  • 7 replies
  • 30 views

Forum|alt.badge.img+6

Hi All i just wanted to know how people are managing turning on the firewall on your machines as i have 60 machines that i need to turn the firewall on but dont know the best way around this

Best answer by franton

I would point you to this:

https://github.com/franton/CIS-Apple-Security-Casper/tree/master/2.6.3%20Enable%20Firewall

That's an EA to detect firewall setting and a script to turn it on.

Oh and if you want firewall stealth mode on too, then I have this:

https://github.com/franton/CIS-Apple-Security-Casper/tree/master/2.6.4%20Enable%20Firewall%20Stealth%20Mode

7 replies

Forum|alt.badge.img+23
  • Esteemed Contributor
  • 850 replies
  • Answer
  • September 1, 2016

I would point you to this:

https://github.com/franton/CIS-Apple-Security-Casper/tree/master/2.6.3%20Enable%20Firewall

That's an EA to detect firewall setting and a script to turn it on.

Oh and if you want firewall stealth mode on too, then I have this:

https://github.com/franton/CIS-Apple-Security-Casper/tree/master/2.6.4%20Enable%20Firewall%20Stealth%20Mode


Forum|alt.badge.img+6
  • Author
  • Contributor
  • 26 replies
  • September 1, 2016

thank you i going to use the stealth mode


Forum|alt.badge.img+23
  • Esteemed Contributor
  • 850 replies
  • September 1, 2016

You will have to use both ;) The first detects whether the firewall is on or not. The second sets stealth mode on/off. So the firewall must be on for the stealth mode setting to have an effect.


Forum|alt.badge.img+8
  • Valued Contributor
  • 70 replies
  • July 19, 2019

Can these scripts be pushed out using Jamf Now?


Forum|alt.badge.img+3
  • New Contributor
  • 7 replies
  • March 15, 2022

Even I want to know how do we push these scripts 


N30
Forum|alt.badge.img+4
  • Contributor
  • 13 replies
  • March 24, 2022

You can create a configuration profiles so,

1. Create a configuration profiles, under Security and Privacy you can enable Firewall and add the firewall exclusion that you want

2. Define the scope of the computer where you want to apply this profile. 

3. The firewall of user OSX will be controlled by Jamf now (when the Jamf policy sync in). 


Forum|alt.badge.img+6
  • Contributor
  • 14 replies
  • September 16, 2022

You can create a configuration profiles so,

1. Create a configuration profiles, under Security and Privacy you can enable Firewall and add the firewall exclusion that you want

2. Define the scope of the computer where you want to apply this profile. 

3. The firewall of user OSX will be controlled by Jamf now (when the Jamf policy sync in). 


works like a charm