1
0
Fork 0
mirror of synced 2025-04-05 14:13:37 +03:00

Added firewall rules

This commit is contained in:
Fabian Sauter 2019-09-01 16:19:17 +02:00
parent 0be2123c80
commit 422db6c43b

View file

@ -371,6 +371,11 @@ logpath = /var/log/secure
EOF
fi
bigecho "Creating firewall rules..."
firewall-cmd --permanent --add-port=500/udp
firewall-cmd --permanent --add-port=4500/udp
firewall-cmd --reload
bigecho "Enabling services on boot..."
systemctl --now mask firewalld 2>/dev/null
@ -435,4 +440,4 @@ EOF
## Defer setup until we have the complete script
vpnsetup "$@"
exit 0
exit 0