Update NETWORKING.md

This commit is contained in:
mayfrost 2018-10-14 00:40:28 +00:00 committed by GitHub
parent fec810fdfd
commit dbdafe6bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,17 +34,23 @@ You can save either example in a script to activate the Wi-Fi whenever you want.
## Next ## Next
### ufw ### ufw
* Show status
`sudo ufw status` `sudo ufw status`
* Enable firewall
`sudo ufw enable` `sudo ufw enable`
* Disable firewall
`sudo ufw disable` `sudo ufw disable`
* Deny all by default
`sudo ufw default deny` `sudo ufw default deny`
* Allow all by default
`sudo ufw default allow` `sudo ufw default allow`
* Allow everything for specific port by default
`sudo ufw allow PORT_NUMBER` `sudo ufw allow PORT_NUMBER`
* delete a rule * Delete a rule
`sudo ufw delete allow PORT_NUMBER` `sudo ufw delete allow PORT_NUMBER`
* allow everything for a specific address * Allow everything for a specific address
`sudo ufw allow from IP_ADDRESS` `sudo ufw allow from IP_ADDRESS`
* allow a specific port for a specific address * Allow a specific port for a specific address
`sudo ufw allow from IP_ADDRESS to any port PORT_NUMBER` `sudo ufw allow from IP_ADDRESS to any port PORT_NUMBER`
### tcpdump ### tcpdump