rockstor / rockstor-doc

Rockstor documentation
http://rockstor.com/docs
Other
25 stars 30 forks source link

OpenVPN - documentation update (post Poetry milestone) #427

Closed Hooverdan96 closed 1 year ago

Hooverdan96 commented 1 year ago

Here is the link to the forum entry created by @sweepy that triggered this issue:

https://forum.rockstor.com/t/unable-to-find-files-to-complete-openvpn-rockon-install/8770

Once the official Rockstor version > 4.1.0 has been released, the information for the OpenVPN Rockon needs to be updated to reflect the introduction of the venv environment, by adapting the additional instruction paths for certificates, etc.

For reference this is the document that needs to be updated (along with some of the pictures/screenshots that are included there)

https://github.com/rockstor/rockstor-doc/blob/231d09d77e777712f8a534180d7efdd8294e20a9/interface/docker-based-rock-ons/openvpn-server.rst

Specifically the additional work section needs to be updated with the correct paths:

Additional steps are required by this Rock-on.

Run these following commands as the root user on your Rockstor system, i.e., via a ssh console.

Initialize PKI The OpenVPN Rock-on will not start without it.

/opt/rockstor/.venv/bin/ovpn-initpki

Generate a client certificate One for each client

/opt/rockstor/.venv/bin/ovpn-client-gen

Retrieve client configuration For any one of your clients. The resulting .ovpn file can be used to connect to this OpenVPN server.

/opt/rockstor/.venv/bin/ovpn-client-print

Configure firewall

If your Rockstor system is behind a firewall, you will need to configure it to allow OpenVPN traffic to forward to your Rockstor system.

I am also referencing the corresponding issue opened in the Rockon repository for updating the Rockon documentation itself:

https://github.com/rockstor/rockon-registry/issues/346