1 {{ ansible_managed|comment }}
3 # Subnet: {{ vpn_subnet }}
16 management 127.0.0.1 31337
18 server {{ vpn_subnet }} 255.255.255.0
24 log /var/log/openvpn/openvpn-vpc.log
26 status /var/log/openvpn/status-vpc.log
27 client-connect "/etc/openvpn/scripts/event-log.sh"
28 client-disconnect "/etc/openvpn/scripts/event-log.sh"
35 dh /etc/openvpn/keys/dh.pem
36 ca /etc/openvpn/keys/ca.{{ ca_name|lower }}.crt
37 crl-verify /etc/openvpn/keys/crl.{{ ca_name|lower }}.pem
38 cert /etc/openvpn/keys/{{ vpc_region }}.{{ ca_name|lower }}.crt
39 key /etc/openvpn/keys/{{ vpc_region }}.{{ ca_name|lower }}.key