openvpn: fix auth + routes

This commit is contained in:
Astro 2021-02-08 16:23:16 +01:00
parent 1fca7d4e0e
commit 6598f5db71
2 changed files with 1 additions and 2 deletions

View File

@ -39,7 +39,6 @@ persist-tun
reneg-sec 0
remote-cert-tls server
auth-user-pass
keepalive 10 30
cipher AES-256-CBC

View File

@ -9,7 +9,7 @@ hostroutes-{{ name }}:
- routes:
{%- for a in salt.dnsutil.A(conf['server']) %}
- ipaddr: {{ a }}
netmask: 255.255.224.0
netmask: 255.255.255.255
gateway: {{ pillar['hosts-inet']['core']['upstream1'] }}
{%- endfor %}