OpenVPN server on VPS using Docker
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
connections
group_vars
playbooks
.gitignore
Makefile
README.md
ansible.cfg
inventory.ini

README.md

forthebadge

Requirements

Client

  • Mac / Linux
  • Ansible

Server

  • Ubuntu Linux
  • SSH access

Configuration

Edit:

  1. group_vars/all.yaml
  2. inventory.ini

Install Docker

$ make install-docker

Install OpenVPN

Server & Client

$ make install-vpn

Client file will be in the connections folder

One more client

$ make create-client

Don't forget to change client_name variable in group_vars/all.yaml

Reset

$ make reset-vpn

Remove all configuration files from server