Fix iptables-openvpn service on Debian 8

This commit is contained in:
angristan 2018-10-08 21:11:30 +02:00
parent bca57c483d
commit 0d19b57e7f

View File

@ -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