mirror of
https://github.com/mayfrost/guides.git
synced 2024-11-28 02:11:46 +00:00
Update NETWORKING.md
This commit is contained in:
parent
fec810fdfd
commit
dbdafe6bcf
@ -34,17 +34,23 @@ You can save either example in a script to activate the Wi-Fi whenever you want.
|
||||
## Next
|
||||
|
||||
### ufw
|
||||
* Show status
|
||||
`sudo ufw status`
|
||||
* Enable firewall
|
||||
`sudo ufw enable`
|
||||
* Disable firewall
|
||||
`sudo ufw disable`
|
||||
* Deny all by default
|
||||
`sudo ufw default deny`
|
||||
* Allow all by default
|
||||
`sudo ufw default allow`
|
||||
* Allow everything for specific port by default
|
||||
`sudo ufw allow PORT_NUMBER`
|
||||
* delete a rule
|
||||
* Delete a rule
|
||||
`sudo ufw delete allow PORT_NUMBER`
|
||||
* allow everything for a specific address
|
||||
* Allow everything for a specific 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`
|
||||
|
||||
### tcpdump
|
||||
|
Loading…
Reference in New Issue
Block a user