From ae7afc2eb508d600304d1215e7e16639287d1268 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 15 Jul 2023 20:34:46 +0800 Subject: [PATCH] Update rhel.sh --- scripts/install/rhel.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install/rhel.sh b/scripts/install/rhel.sh index ed970c14e..cb7ea656f 100644 --- a/scripts/install/rhel.sh +++ b/scripts/install/rhel.sh @@ -108,6 +108,7 @@ if [ -f /usr/sbin/firewalld ];then # look # firewall-cmd --list-all # systemctl status firewalld + # firewall-cmd --zone=public --remove-port=80/tcp --permanent if [ "$SSH_PORT" != "" ];then firewall-cmd --permanent --zone=public --add-port=${SSH_PORT}/tcp