From 932c7dc7e6d15eb29c33b7642ef8a996b348b05d Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Fri, 30 Aug 2019 20:17:35 -0500 Subject: [PATCH] Fix VPN issue where firewall needs to restart after VPN is active --- rootfs/standard/usr/bin/mynode_firewall.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rootfs/standard/usr/bin/mynode_firewall.sh b/rootfs/standard/usr/bin/mynode_firewall.sh index ffb5a2e2..eaa40e9d 100755 --- a/rootfs/standard/usr/bin/mynode_firewall.sh +++ b/rootfs/standard/usr/bin/mynode_firewall.sh @@ -38,5 +38,9 @@ systemctl enable ufw # Check UFW status ufw status +# Reload firewall after some time to reset (fixes VPN) +sleep 120s +ufw reload + # Success exit 0 \ No newline at end of file