Checking the Firewall State using Terminal

Joined
Dec 9, 2014
Messages
1
Reaction score
0
Points
1
I need to use a terminal command to check if the firewall is ON or OFF. I've looked everywhere and I just can't find a command to check this.

Does anyone know of one?

Thanks!

Gavin
 
Joined
Nov 28, 2007
Messages
25,564
Reaction score
486
Points
83
Location
Blue Mountains NSW Australia
Your Mac's Specs
Silver M1 iMac 512/16/8/8 macOS 11.6
Well if you are running a late verion Operating System go to System Preferences > Security & Privacy > Firewall. Apple's default is Off, but should you use Internet Cafes and Hotels by all means activate it.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top