OpenVPS VPN

The OpenVPS provides the ability to establish a VPN (Virtual Private Network) to the VPS.

Here we provide the basic instructions on how to get started using OpenVPN.

If you VPS was provisioned after Jun 1st 2007, it should already contain the neccessary software and configuration to get the VPN connection started. For older VPS's please see the VPN thread in our forums.

On the server side the essential components are the openvpn configuration file (by default /etc/openvpn/openvpns.conf) and the static.key file in that same directory.

Starting OpenVPN should be as simple as running:

# service openvpn start

While we cannot provide details for every possible client configuration, here is a sample client config that should provide a starting point:

proto tcp-client
remote XXX.user.openhosting.com
dev tap
ifconfig XXX.XXX.XXX.XXX 255.255.255.224
secret static.key
  

The XXX in the remote directive should be replaced with your VPS name. The IP address in ifconfig section can be any IP in the same subnet as the one specified in the server config. NOTE that the server-side IP cannot be changed. The easiest way to pick the client IP is to take the server one and add to the last octet.

Also make sure that the static.key files are identical on both client and server, and no firewalls inbetween block port 1194.

Please do not hesitate to contact us or post to out forums with any questions.