mirror of
https://github.com/teddysun/across.git
synced 2025-10-30 00:05:33 +08:00
Fixed: enable firewalld(CentOS 7)
This commit is contained in:
3
l2tp.sh
3
l2tp.sh
@@ -691,12 +691,15 @@ EOF
|
|||||||
|
|
||||||
systemctl enable ipsec
|
systemctl enable ipsec
|
||||||
systemctl enable xl2tpd
|
systemctl enable xl2tpd
|
||||||
|
systemctl enable firewalld
|
||||||
systemctl restart ipsec
|
systemctl restart ipsec
|
||||||
systemctl restart xl2tpd
|
systemctl restart xl2tpd
|
||||||
echo "confirm ipsec status..."
|
echo "confirm ipsec status..."
|
||||||
systemctl -a | grep ipsec
|
systemctl -a | grep ipsec
|
||||||
echo "confirm xl2tpd status..."
|
echo "confirm xl2tpd status..."
|
||||||
systemctl -a | grep xl2tpd
|
systemctl -a | grep xl2tpd
|
||||||
|
echo "confirm firewalld status..."
|
||||||
|
firewall-cmd --list-all
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user