Fixed: enable firewalld(CentOS 7)

This commit is contained in:
Teddysun 2016-06-19 19:10:04 +09:00
parent 0c52b1a474
commit b89eb65a1f

View File

@ -691,12 +691,15 @@ EOF
systemctl enable ipsec
systemctl enable xl2tpd
systemctl enable firewalld
systemctl restart ipsec
systemctl restart xl2tpd
echo "confirm ipsec status..."
systemctl -a | grep ipsec
echo "confirm xl2tpd status..."
systemctl -a | grep xl2tpd
echo "confirm firewalld status..."
firewall-cmd --list-all
}