From 0d19b57e7ffd874aa5d04a3ed53560882450fcbb Mon Sep 17 00:00:00 2001 From: angristan Date: Mon, 8 Oct 2018 21:11:30 +0200 Subject: [PATCH] Fix iptables-openvpn service on Debian 8 --- openvpn-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index cf2d6e7..bbf9227 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -881,8 +881,8 @@ ip6tables -D FORWARD -i tun0 -o $NIC -j ACCEPT" >> /etc/iptables/rm-openvpn-rule # Handle the rules via a systemd script echo "[Unit] Description=iptables rules for OpenVPN -Before=network-pre.target -Wants=network-pre.target +Before=network-online.target +Wants=network-online.target [Service] Type=oneshot