WIPTF
This commit is contained in:
5
harden
5
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
|
||||
|
||||
Reference in New Issue
Block a user