Skip to content

Ansible role to install and configure OpenVPN server

License

Notifications You must be signed in to change notification settings

zilverline/Stouts.openvpn

 
 

Repository files navigation

Stouts.openvpn

Build Status Galaxy

Ansible role that installs an openvpn server

  • Install and setup OpenVPN server
  • Create/revoke client's configurations and certificates
  • Setup authentication with PAM (System, passwd files)

Requirements

None.

Supported platforms

  • Ubuntu 14.04
  • Ubuntu 16.04
  • Debian 8
  • Debian 9
  • Centos 7

Variables

For a complete variable reference, see the defaults/main.yml file.

Example playbook

- hosts: all
  vars:
    openvpn_use_pam: true
    openvpn_download_clients: true
    openvpn_download_dir: /home/me/Projects
    openvpn_clients: 
      - client1
      - client2
    openvpn_use_pam_users:
      - name: user1
        password: password1
      - name: user2
        password: password2
  roles:
    - Stouts.openvpn

License

Licensed under the MIT License. See the LICENSE file for details.

Feedback, bug-reports, requests, ...

...are welcome!

About

Ansible role to install and configure OpenVPN server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 64.8%
  • Makefile 17.7%
  • Python 17.5%