From dbdafe6bcff48b71d2459e835b85a9ef9e6d2135 Mon Sep 17 00:00:00 2001 From: mayfrost Date: Sun, 14 Oct 2018 00:40:28 +0000 Subject: [PATCH] Update NETWORKING.md --- NETWORKING.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/NETWORKING.md b/NETWORKING.md index 28f9444..03a393c 100644 --- 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