rajannpatel / Pi-Hole-PiVPN-on-Google-Compute-Engine-Free-Tier-with-Full-Tunnel-and-Split-Tunnel-OpenVPN-Configs

Run your own privacy-first ad blocking service in the cloud for free on Google Cloud Services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

systemctl enable openvpn@server_tcp443.service

Oleg187 opened this issue · comments

Hi,

Much thanks for this guide.

Unfortunately I check the service after doing this
systemctl enable openvpn@server_tcp443.service

it says to me

root@instance-1:/etc/openvpn# systemctl status openvpn@server_tcp443.service
openvpn@server_tcp443.service - OpenVPN connection to server_tcp443
Loaded: loaded (/lib/systemd/system/openvpn@.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-07-14 17:01:29 UTC; 26min ago
Docs: man:openvpn(8)
https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
https://community.openvpn.net/openvpn/wiki/HOWTO
Jul 14 17:01:29 instance-1 systemd[1]: Starting OpenVPN connection to server_tcp443...
Jul 14 17:01:29 instance-1 ovpn-server_tcp443[3218]: Options error: --cert fails with '/etc/openvpn/easy-rsa/pki/issued/instance-1_e73d4bdc-fdbc-46e1-ba49-a
1f9db3ce46e.crt': No such file or directory
Jul 14 17:01:29 instance-1 ovpn-server_tcp443[3218]: WARNING: cannot stat file '/etc/openvpn/easy-rsa/pki/private/instance-1_e73d4bdc-fdbc-46e1-ba49-a1f9db3
ce46e.key': No such file or directory (errno=2)
Jul 14 17:01:29 instance-1 ovpn-server_tcp443[3218]: Options error: --key fails with '/etc/openvpn/easy-rsa/pki/private/instance-1_e73d4bdc-fdbc-46e1-ba49-a
1f9db3ce46e.key': No such file or directory
Jul 14 17:01:29 instance-1 ovpn-server_tcp443[3218]: Options error: Please correct these errors.
Jul 14 17:01:29 instance-1 ovpn-server_tcp443[3218]: Use --help for more information.
Jul 14 17:01:29 instance-1 systemd[1]: openvpn@server_tcp443.service: Control process exited, code=exited status=1
Jul 14 17:01:29 instance-1 systemd[1]: Failed to start OpenVPN connection to server_tcp443.
Jul 14 17:01:29 instance-1 systemd[1]: openvpn@server_tcp443.service: Unit entered failed state.
Jul 14 17:01:29 instance-1 systemd[1]: openvpn@server_tcp443.service: Failed with result 'exit-code'.

What am I doing wrong?

doing just
systemctl status openvpn

is returning all green "active"
but the instances are important, no?

In the .ovpn files the instances names are written

Forget about it
I did not realize until now that Wireguard VPN can be used without paying

Will setup myself with wireguard now