I noticed that the iptables rules in /etc/iptables/add-openvpn-rules.sh didn't get applied at system boot.
However, after "systemctl restart iptables-openvpn" everything was fine.
From what I found, i assume that the service is triggered before iptabels is initialized:
To test it I inserted:
Code: Select all
iptabels-save > /tmp/test
I modified iptables-openvpn.service to make it work:
Code: Select all
#Before=network-online.target
After=network-online.target