OVPN uses shared IP addresses - which means you will be disconnected to your server if you're connected to it remotely. You will need our Public IPv4 add-on to connect remotely.
su
apt-get update && apt-get upgrade && apt-get install openvpn unzip
echo "username" >> /etc/openvpn/credentials
echo "CHANGE TO YOUR PASSWORD" >> /etc/openvpn/credentials
openvpn --config /etc/openvpn/ovpn.conf --daemon
Wait about 30 seconds and then run:
curl https://www.ovpn.com/v1/api/client/ptr
You should see something like:
{"status":true,"ip":"the external ip","ptr":"PTR for the IP address"}
Congratulations! Your device is now protected behind OVPN and will automatically connect on reboots. If you encountered any issues, please send the log file (/tmp/openvpn.log) to our support.
A few commands that are good to know:
service openvpn start # Starts OpenVPN and connect automatically to OVPN
service openvpn stop # Stops OpenVPN
service openvpn restart # Restarts OpenVPN and connects automatically to OVPN
service openvpn status # Shows status for OpenVPN.