commit dbdafe6bcff48b71d2459e835b85a9ef9e6d2135 parent fec810fdfd40ac8323ac87031bad59654f181659 Author: mayfrost <mayfrost@cock.li> Date: Sun, 14 Oct 2018 00:40:28 +0000 Update NETWORKING.md Diffstat:
| M | NETWORKING.md | | | 12 | +++++++++--- |
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/NETWORKING.md b/NETWORKING.md @@ -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