Skip to content

chelalex/openvpn_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openvpn_server

Install and configure OpenVPN Server ansible role
Available for Ubuntu 22.04 LTS

openvpn_server
├── README.md
├── files
│   └── make_config.sh
├── tasks
│   └── main.yml
├── templates
│   ├── before.rules.j2
│   ├── client.conf.j2
│   ├── server.conf.j2
│   └── ufw.j2
└── vars
    └── main.yml

Requirements

Previously you should configure PKI for certficate generation and exchange necessary certificates each other.

Role Variables

openvpn_server:
  local_address: local option value (openvpn server config file)
  local_easy_rsa_path: path to easyrsa launch directory
  config_path: path to openvpn server config files
  dh_param: diffie-helman option value (openvpn server config file)
  port: connection port option value (openvpn server config file)
  proto: transport protocol option value: tcp or udp (openvpn server config file)
  cipher_mode: cipher-mode option value (openvpn server config file)

Example Playbook

- hosts: server
  roles:
     - openvpn_server

About

Install and configure OpenVPN Server ansible role

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published