OpenVPN provides flexible VPN solutions to secure your data communications, whether it's for Internet privacy, remote access for employees, securing IoT, or for networking Cloud data centers
Desktop and Mobile Clients
The OpenVPN app has been tested with the following clients:
How to connect on Ubuntu 16.04
- Install the Network Manager OpenVPN plugin
sudo apt-get install network-manager-openvpn-gnome
- Download the .ovpn embedded certs config file from the OpenVPN app
- Open Network Manager,
Import from file...
The admin panel can be used to customize some of the popular settings like the network address and client-to-client connectivity.
To make a user an admin, edit the file
/app/data/config.ini and add
the username to the
admins key. Note that you have to restart the app
and re-login for the admin role to take effect.
This app has a built-in Dnsmasq DNS server (which is pushed to clients). This DNS server
allows resolution of connected clients using
You can configure this DNS server by editing
/app/data/dnsmasq.conf using the (/apps#file-manager).
For example, to make Dnsmasq forward DNS requests to an internal DNS server, use the following:
See Dnsmasq docs for all the available options.
You can customize various settings by editing
the File Manager. Some popular options are
By default, clients are configured to route all traffic via the VPN. If you disable this, you would want to push custom routes for the network and hosts behind the VPN. For example, edit the file as below and restart the app.
# push "redirect-gateway def1 bypass-dhcp" push "route 18.104.22.168 255.255.255.255" push "route 22.214.171.124 255.255.255.0"
The OpenVPN app provides a tunnel to channel all the traffic from your devices via the Cloudron. Websites and services that you visit will not see the IP address of your devices but they will see the IP address and possibly the RDNS hostname of your Cloudron.
You can check what sort of information can be gathered from your Cloudron's IP address using ipleak.net.
Custom Client Configuration
Custom Client Configuration allows the OpenVPN admin to assign a specific IP address to a client or push specific options such as compression and DNS server to a client.
To add custom settings:
/app/data/openvpn.confand add the following line:
Create the directory
You can create custom client configs in this directory by creating files with the name
[username]_[devicename]. You can also create a file named
DEFAULTwhich will be used if no device specific file exists.
For example, to assign a static IP to a client, you can add the line
ifconfig-push 10.8.0.50 10.8.0.51(requires IP pair)
Restart the app for changes to take effect.
If you are unable to connect to the OpenVPN server, make sure that your VPS firewall allows the OpenVPN port (by default, this is 7494/TCP). For example, you might have to add this incoming port as part of EC2 security group.