What is OpenVPN
This package allows you to deploy your personal OpenVPN server to any part of the world and region provided by the cloud provider. For example, with Digital Ocean you have the possibility to have your own VPN server in North America, Canada, Europe, or somewhere in Asia.
OpenVPN server in a Docker container complete with an EasyRSA PKI CA.
OpenVPN stack is built with Docker Compose.
What is included
- OpenVPN docker container based on https://hub.docker.com/r/kylemanna/openvpn
How to deploy
Once your deployment is complete you will receive an email that contains your “ovpn” file attached. Save the file with “.ovpn” extension somewhere on your computer disk.
In order to connect to the VPN server, you will need to install VPN client.
Install a client to work with OpenVPN
The installation process is unique for each platform and OS:
For Ubuntu/Debian users execute the following commands in your terminal
sudo apt-get update
sudo apt-get install openvpn
sudo openvpn --config xxxx.ovpn
Replace 'xxxx' with the filename you got in e-mail
For CentOS users
sudo yum install epel-release
sudo yum install openvpn
sudo openvpn --config xxxx.ovpn
Replace 'xxxx' with the filename you got in e-mail
You can run the OpenVPN command by root (or using sudo):
sudo openvpn --config xxxx.ovpn
Replace 'xxxx' with the filename you got in e-mail
Or send to background / run vpn client as daemon process:
openvpn --config xxxx.ovpn --daemon
Replace 'xxxx' with the filename you got in e-mail
How to add new VPN users
Go to directory that containing docker-compose.yml file on your server and execute commands below.
Add a new user without a passphrase
docker-compose run --rm openvpn easyrsa build-client-full USERNAME nopass
Generate user’s ovpn file
docker-compose run --rm openvpn ovpn_getclient USERNAME > USERNAME.ovpn
Companion apps
Fail2ban scans log files and bans IPs that show the malicious signs. Highly recommended for simple VPS server setup
Get DevOps Support Hourly
By selecting this service, you will have priority access to the development team for optimizing and upgrading your stack.
Contact info@try.direct for more information or Hire an expert directly to make post-installation adjustments on an hourly basis. Browse other available services.
Docker Status Panel - is a minimalistic docker container management panel written in Python / Flask microframework.
Portainer is a lightweight management UI that allows you to easily manage your different Docker environments (Docker hosts or Swarm clusters)