Commit 5cec7dfe authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Refactor to enable ufw right after reset.

parent 3be0553a
#!/bin/bash
sudo ufw --force reset
sudo ufw enable
# delete back rules from reset
sudo rm /etc/ufw/*.rules.*
......@@ -8,4 +9,3 @@ sudo rm /etc/ufw/*.rules.*
# reset to defaults and enable
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment