NubeIO/rubix-service

openvpn service

Closed this issue · 0 comments

Steps (different than existing one):

  • Install: let user install openvpn client
  • Configure: upload vpn conf text file (we have the .ovpn file, we read it on the text and will upload it)
  • Start: hit enable and start systemctl command

Filename and path

/etc/openvpn/client.conf

Install command

sudo apt-get update
sudo apt-get install openvpn

Command start|stop|status|enable|disable

sudo systemctl <start|stop|status|enable|disable> openvpn@client

Just a note: we upload .ovpn as a file. But our Node.js backend proxy service extracts it in text format and sent it as text to rubix-service (coz rubix-service file upload is not working for master/slave).