mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 18:41:32 -05:00
Update install.sh
This commit is contained in:
parent
1dd1cb0b11
commit
42335f721f
@ -836,13 +836,16 @@ EOF
|
|||||||
firewall-cmd --permanent --add-service=80/tcp
|
firewall-cmd --permanent --add-service=80/tcp
|
||||||
firewall-cmd --permanent --add-port=2022/tcp
|
firewall-cmd --permanent --add-port=2022/tcp
|
||||||
firewall-cmd --permanent --add-port=8080/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
|
elif [ "$installoption" = "3" ]; then
|
||||||
firewall-cmd --add-service=http --permanent
|
firewall-cmd --add-service=http --permanent
|
||||||
firewall-cmd --add-service=https --permanent
|
firewall-cmd --add-service=https --permanent
|
||||||
firewall-cmd --permanent --add-port=2022/tcp
|
firewall-cmd --permanent --add-port=2022/tcp
|
||||||
firewall-cmd --permanent --add-port=8080/tcp
|
firewall-cmd --permanent --add-port=8080/tcp
|
||||||
firewall-cmd --permanent --add-service=mysql
|
firewall-cmd --permanent --add-service=mysql
|
||||||
|
firewall-cmd --permanent --zone=trusted --change-interface=pterodactyl0
|
||||||
|
firewall-cmd --zone=trusted --add-masquerade --permanent
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user