vpn.openvpn: route over upstream2
This commit is contained in:
parent
9f3ccd6901
commit
5b92d5db50
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue