From 42335f721f4eeab25319425833193f03fd1c360f Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 2 Nov 2021 00:39:37 -0400 Subject: [PATCH] Update install.sh --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 557d40c..8d48f8c 100644 --- a/install.sh +++ b/install.sh @@ -836,13 +836,16 @@ EOF firewall-cmd --permanent --add-service=80/tcp firewall-cmd --permanent --add-port=2022/tcp firewall-cmd --permanent --add-port=8080/tcp - + firewall-cmd --permanent --zone=trusted --change-interface=pterodactyl0 + firewall-cmd --zone=trusted --add-masquerade --permanent elif [ "$installoption" = "3" ]; then firewall-cmd --add-service=http --permanent firewall-cmd --add-service=https --permanent firewall-cmd --permanent --add-port=2022/tcp firewall-cmd --permanent --add-port=8080/tcp firewall-cmd --permanent --add-service=mysql + firewall-cmd --permanent --zone=trusted --change-interface=pterodactyl0 + firewall-cmd --zone=trusted --add-masquerade --permanent fi fi }