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:
+6
-1
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user