OVPN allocates shared (NAT) IP addresses to connected clients. You will need our Public IPv4 add-on in case you access your server remotely.
1. Run as superuser
su
2. Download components
apt-get update && apt-get upgrade && apt-get install curl openvpn unzip
Use OVPN if security is of importance
Your privacy and security is the core focus of OVPN. That's why we've implemented a multi-layered security model.
3. Download the configuration you want
4. Enter your login credentials
echo "CHANGE TO YOUR USERNAME" >> /etc/openvpn/credentials
echo "CHANGE TO YOUR PASSWORD" >> /etc/openvpn/credentials
5. Start OpenVPN and see that everything works
openvpn --config /etc/openvpn/ovpn.conf --daemon
6. Verify that the connection was successful
Wait about 30 seconds and then run:
curl https://www.ovpn.com/v2/api/client/ptr
You should see something like:
{"status":true,"ip":"the external ip","ptr":"PTR for the IP address"}
7. Done
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:
systemctl start openvpn # Starts OpenVPN and connects to OVPNsystemctl stop openvpn # Stops OpenVPNsystemctl restart openvpn # Restarts OpenVPNsystemctl status openvpn # Shows status for OpenVPN