feat(ufw): auto-open firewall ports after app installation

- cloudpanel: allow ftp, smtp, dns, http, https, smtps, imaps, pop3s, and admin panel ports
- coolify: allow http, https, and dashboard port after install
- pterodactyl: allow http, https, wings daemon (8080), and sftp (2022) ports
- uptime-kuma: allow app port on install
- proxmox: add open_firewall_ports() with ufw guard checks and new menu option [9]
This commit is contained in:
2026-05-12 17:46:31 -04:00
parent aba84b26f7
commit dda32051ac
8 changed files with 134 additions and 15 deletions
+6 -1
View File
@@ -263,7 +263,12 @@ install_pterodactyl() {
cat > /etc/pterodactyl/config.yml
[ -s /etc/pterodactyl/config.yml ] && systemctl enable --now wings
ufw_allow 80/tcp "Pterodactyl HTTP"
ufw_allow 443/tcp "Pterodactyl HTTPS"
ufw_allow 8080/tcp "Pterodactyl Wings daemon"
ufw_allow 2022/tcp "Pterodactyl Wings SFTP"
local duration=$(( $(date +%s) - start_time ))
echo ""