I did, however now if I repeat all the steps I get an error on the following command:
sudo service openvpn@openvpn start
Job for firstname.lastname@example.org failed. See ‘systemctl status email@example.com’ and ‘journalctl -xn’ for details.
if i do:
sudo service openvpn@openvpn status
firstname.lastname@example.org - OpenVPN connection to openvpn
Loaded: loaded (/email@example.com; enabled)
Active: failed (Result: exit-code) since Mon 2017-05-08 02:21:16 CEST; 3min 37s ago
Process: 3980 ExecStartPre=/usr/bin/sudo /usr/sbin/openvpn --rmtun --dev tun0 (code=exited, status=1/FAILURE)
May 08 02:21:16 computer sudo: tunnel : TTY=unknown ; PWD=/etc/openvp…n0
May 08 02:21:16 computer sudo: pam_unix(sudo:session): session opened…0)
May 08 02:21:16 computer sudo: Mon May 8 02:21:16 2017 ERROR: Cannot…6)
May 08 02:21:16 computer sudo: Mon May 8 02:21:16 2017 Exiting due t…or
May 08 02:21:16 computer sudo: pam_unix(sudo:session): session closed…ot
May 08 02:21:16 computer systemd: firstname.lastname@example.org: control proce…=1
May 08 02:21:16 computer systemd: Failed to start OpenVPN connection to …n.
May 08 02:21:16 computer systemd: Unit email@example.com entered f…e.
Hint: Some lines were ellipsized, use -l to show in full.
However if I manually delete the content of resolvfconf file in /etc/resolvconf/run/interface and restart resolvconf I have zero leaks and everything works.
But the problem is that every time I connect and disconnect again, automatically I get the leaks unless I edit manually those files everytime.
the vpn firewall however i think is working, cause if I kill openvpn or turn off and on again my connection I cant connect at all. I have to flush manually netfilter everytime, connect, and then restart it.
Im sorry if this reply is confusing, im doing my best
Thanks again for the help