vpn.openvpn: route over upstream2

This commit is contained in:
Astro 2017-01-16 01:16:52 +01:00
parent 9f3ccd6901
commit 5b92d5db50
1 changed files with 1 additions and 1 deletions

View File

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