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 email@example.com failed. See ‘systemctl status firstname.lastname@example.org’ and ‘journalctl -xn’ for details.
if i do:
sudo service openvpn@openvpn status
email@example.com - OpenVPN connection to openvpn
Loaded: loaded (/firstname.lastname@example.org; 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: email@example.com: 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 firstname.lastname@example.org 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