From 6eaa744604eedeecb8865e1ffadacb9c46c73223 Mon Sep 17 00:00:00 2001 From: konsthol Date: Thu, 7 Sep 2023 05:22:50 +0300 Subject: [PATCH] WIPTF --- harden | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/harden b/harden index 9ca6119..402b907 100755 --- a/harden +++ b/harden @@ -601,6 +601,11 @@ if [[ -n "$OLD_PORTS" ]]; then done fi sudo ufw allow 22100/tcp +# Reallow the ports that portainer and watchtower use +# just in case they were removed by the script above +sudo ufw allow 9443/tcp +sudo ufw allow 8000/tcp +sudo ufw allow 8080/tcp if [[ "$currentFirewall" == "firewalld" ]]; then sudo firewall-cmd --reload else