From c03eb0aa40759a7def94c43adb88ed831d9ae307 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 20 Dec 2022 13:10:18 +0800 Subject: [PATCH] Update rhel.sh --- scripts/install/rhel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install/rhel.sh b/scripts/install/rhel.sh index 5c2131f42..d44dd76b9 100644 --- a/scripts/install/rhel.sh +++ b/scripts/install/rhel.sh @@ -29,7 +29,7 @@ if [ ! -d /root/.acme.sh ];then fi if [ -f /usr/sbin/iptables ];then - $PKGMGR install -y iptables-services + # $PKGMGR install -y iptables-services iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT