How to debug TrueNAS Core 12.0 built-in OpenVPN Client?

scott2500uk

Dabbler
Joined
Nov 17, 2014
Messages
37
Hi,

I'm trying to configure the built-in OpenVPN client in Truenas core 12u7 to connect to ProtonVPN to create a TUN device for my jails to send certain traffic over.

When turning on the client service I get the following error:

OpenVPN Client service failed to start.

and the following messages in the syslog:

Jan 26 11:50:01 truenas 1 2022-01-26T11:50:01.670892+00:00 truenas.xxxxxxxx root 1763 - - /usr/local/etc/rc.d/openvpn_client: WARNING: /usr/local/etc/openvpn/client/openvpn_client.conf is not readable.
Jan 26 11:50:01 truenas 1 2022-01-26T11:50:01.671568+00:00 truenas.xxxxxxxx root 1764 - - /usr/local/etc/rc.d/openvpn_client: WARNING: failed precmd routine for openvpn_client

My configuration is as follows:
Screenshot 2022-01-26 at 11.51.50.png


With the ProtonVPN CA added under System->CAs.

Can anyone see anything glaringly wrong in my configuration? If not how can I debug this? Is there a way I can start the service in a more verbose way? Is there a log file that might detail what actually failed?

Is using the built-in OpenVPN client allowed to be used this way or would it be better to create a jail to run an openvpn client in?
 
Top