From b89eb65a1f26b08eee44a3dd04bb52d26686fb6a Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sun, 19 Jun 2016 19:10:04 +0900 Subject: [PATCH] Fixed: enable firewalld(CentOS 7) --- l2tp.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/l2tp.sh b/l2tp.sh index 71ed24a..6709d80 100644 --- a/l2tp.sh +++ b/l2tp.sh @@ -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 }