openvpn: fix auth + routes
This commit is contained in:
parent
1fca7d4e0e
commit
6598f5db71
|
@ -39,7 +39,6 @@ persist-tun
|
|||
reneg-sec 0
|
||||
|
||||
remote-cert-tls server
|
||||
auth-user-pass
|
||||
|
||||
keepalive 10 30
|
||||
cipher AES-256-CBC
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue