From 0c599094e5f4f545cfccc50a743512be2dfce42e Mon Sep 17 00:00:00 2001 From: wid-get <129321765+wid-get@users.noreply.github.com> Date: Wed, 29 Mar 2023 21:34:35 +0300 Subject: [PATCH] fix iptables-openvpn.service fixes not executing add-openvpn-rules.sh after OS reboot --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index c47e08f..1471eb8 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -1000,7 +1000,7 @@ ip6tables -D INPUT -i $NIC -p $PROTOCOL --dport $PORT -j ACCEPT" >>/etc/iptables # Handle the rules via a systemd script echo "[Unit] Description=iptables rules for OpenVPN -Before=network-online.target +After=network-online.target Wants=network-online.target [Service]