About Us
IDKBlogs

  All  
Javascript
NodeJS
AngularJS
Angular2+
ReactJS
Others

Turn On/Off firewall of your mac using terminal/CMD

Turn On/Off your firewall just using one command

  idkblogs.com      September 9, 2020

Shubham Verma

Shubham Verma


Turn On/Off firewall of your mac using terminal/CMD

S

ometimes, in our mac machine, our firewall setting is not let us do the changes, and the system not let us allow to do the "Turn On" or "Turn Of", in this we can do turn on the firewall or turn off the firewall by just one command.
Let's see how we can do turn on or turn off the firewall setting by command.

Initial State:

idkblogs.com: Turn on/off firewall of your mac using terminal/CMD

Turn on/off firewall of your mac using terminal/CMD

Turn on by using below command:


idkblogs.com: Turn on/off firewall of your mac using terminal/CMD

Turn on/off firewall of your mac using terminal/CMD


Now you can see, your firewall setting has changed:


idkblogs.com: Turn on/off firewall of your mac using terminal/CMD

Turn on/off firewall of your mac using terminal/CMD



Now, for turn off run below command:



idkblogs.com: Turn on/off firewall of your mac using terminal/CMD

Turn on/off firewall of your mac using terminal/CMD


idkblogs.com: Turn on/off firewall of your mac using terminal/CMD

Turn on/off firewall of your mac using terminal/CMD


That's it..


Thank you

for taking the time to read this article. If you’re interested in Node.js or JavaScript this link will help you a lot.



Copyright © 2020 IDKBlogs | All Right Reserved

About Us

Powered by : IDKBlogs

Last Update : 19/09/2020