gh0stwizard / ansible-openvpn

Setup OpenVPN server and create client configurations for personal usage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Setup OpenVPN server and create client configurations for personal usage.

At the moment only Debian 10+ is supported.

Quickstart

Inventory

Edit the inventory/hosts file:

[openvpn]
host1 ansible_host=10.10.1.1

Setup passwords and vault

Currently the playbook is expecting root ssh password.

% echo -n 'my_ssh_password' > passwords/ssh
% echo -n 'my_vault_password' > passwords/vault
% ./create-vault.sh

See also, group_vars.

Run

% ansible-playbook site.yml

About

Setup OpenVPN server and create client configurations for personal usage


Languages

Language:Jinja 87.9%Language:Shell 12.1%