|
|
@ -89,6 +89,7 @@ echo "SSH PORT:${SSH_PORT}" |
|
|
|
# echo "iptables wrap start" |
|
|
|
# echo "iptables wrap start" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "firewall open common port start" |
|
|
|
if [ ! -f /usr/sbin/firewalld ];then |
|
|
|
if [ ! -f /usr/sbin/firewalld ];then |
|
|
|
$PKGMGR install firewalld -y |
|
|
|
$PKGMGR install firewalld -y |
|
|
|
systemctl enable firewalld |
|
|
|
systemctl enable firewalld |
|
|
@ -103,7 +104,6 @@ if [ ! -f /usr/sbin/firewalld ];then |
|
|
|
systemctl restart firewalld |
|
|
|
systemctl restart firewalld |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
echo "firewall open common port start" |
|
|
|
|
|
|
|
if [ -f /usr/sbin/firewalld ];then |
|
|
|
if [ -f /usr/sbin/firewalld ];then |
|
|
|
# look |
|
|
|
# look |
|
|
|
# firewall-cmd --list-all |
|
|
|
# firewall-cmd --list-all |
|
|
|