diff --git a/scripts/install/rhel.sh b/scripts/install/rhel.sh index dae31f8ab..7cdc92557 100644 --- a/scripts/install/rhel.sh +++ b/scripts/install/rhel.sh @@ -30,6 +30,9 @@ fi if [ -f /usr/sbin/iptables ];then # $PKGMGR install -y iptables-services + + # iptables -nL --line-number + 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