diff --git a/vpnsetup_fedora.sh b/vpnsetup_fedora.sh index 730ecc9..4982d83 100755 --- a/vpnsetup_fedora.sh +++ b/vpnsetup_fedora.sh @@ -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 \ No newline at end of file