mirror of
https://github.com/teddysun/across.git
synced 2025-01-31 12:19:35 +08:00
Fixed: enable firewalld(CentOS 7)
This commit is contained in:
parent
0c52b1a474
commit
b89eb65a1f
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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user