mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-05-10 02:34:22 +02:00
fix iptables-openvpn.service
fixes not executing add-openvpn-rules.sh after OS reboot
This commit is contained in:
parent
80feebed16
commit
0c599094e5
@ -1000,7 +1000,7 @@ ip6tables -D INPUT -i $NIC -p $PROTOCOL --dport $PORT -j ACCEPT" >>/etc/iptables
|
|||||||
# Handle the rules via a systemd script
|
# Handle the rules via a systemd script
|
||||||
echo "[Unit]
|
echo "[Unit]
|
||||||
Description=iptables rules for OpenVPN
|
Description=iptables rules for OpenVPN
|
||||||
Before=network-online.target
|
After=network-online.target
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user