fix: ensure that ufw is enabled

This commit is contained in:
Martin Mose Hansen
2025-09-03 17:08:09 +02:00
parent 8fd668fbb3
commit 0723059fb3
2 changed files with 16 additions and 0 deletions

View File

@@ -17,6 +17,9 @@ sudo ufw allow in proto udp from 172.16.0.0/12 to 172.17.0.1 port 53 comment 'al
# Turn on the firewall
sudo ufw --force enable
# Enable UFW systemd service to start on boot
sudo systemctl enable ufw
# Turn on Docker protections
sudo ufw-docker install
sudo ufw reload