fix iptables-openvpn.service

fixes not executing add-openvpn-rules.sh after OS reboot
This commit is contained in:
wid-get 2023-03-29 21:34:35 +03:00
parent 80feebed16
commit 0c599094e5

View File

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