OpenVPN server Rock-on

This is a dedicated topic for OpenVPN server Rock-on. Let it be our knowledge base and a running discussion thread for everything related to this Rock-on.

Reply with your questions, tips, requests, answers or anything else related to this topic, but please keep them specific to OpenVPN.

Where is the server.conf file stored? I’d like to make a change to not use the google DNS.

When I do the following:

[root@rocknas ~]# ps -ax | grep open
 5665 ?        Ss     0:26 openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd

It looks like the file is in /etc/openvpn. But that directory doesn’t exist on my Rockstor install.

Ben, it is in that directory - however, because the OpenVPN is part of a docker image, you need to take a look at the share associated with that container. When in SSH try this:

docker run --rm --volumes-from ovpn-data -it busybox sh

the configuration file is then found in /etc/openvpn in the openvpn.conf file (note, that nano does not exist in the image, but you can use vi to edit/view the file).

Hope, that helps.

1 Like

Oh, duh! Totally forgot it was running via docker.