Fixed Application Firewall according to inline comments
This commit is contained in:
parent
aead4545ff
commit
d24be5d3fd
16
README.md
16
README.md
@ -812,22 +812,22 @@ defaults write com.apple.print.PrintingPrefs "Quit When Finished" -bool true
|
|||||||
|
|
||||||
### Application Firewall
|
### Application Firewall
|
||||||
|
|
||||||
#### Display If the Firewall is Enabled
|
#### Show Firewall Status
|
||||||
```bash
|
```bash
|
||||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
|
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Turn off the Firewall
|
#### Turn on Firewall
|
||||||
```bash
|
|
||||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Turn on the Firewall
|
|
||||||
```bash
|
```bash
|
||||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
|
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Add the Application to the Firewall
|
#### Turn off Firewall
|
||||||
|
```bash
|
||||||
|
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Add Application to Firewall
|
||||||
```bash
|
```bash
|
||||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /path/to/file
|
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /path/to/file
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user