Page MenuHomeVyOS Platform

client.conf.tmpl
No OneTemporary

Size
899 B
Referenced Files
None
Subscribers
None

client.conf.tmpl

### Autogenerated by interfaces-openvpn.py ###
{% if ip %}
ifconfig-push {{ ip[0] }} {{ server_subnet[0] | netmask_from_cidr }}
{% endif %}
{% if push_route is defined and push_route is not none %}
{% for route in push_route %}
push "route {{ route | address_from_cidr }} {{ route | netmask_from_cidr }}"
{% endfor %}
{% endif %}
{% if subnet is defined and subnet is not none %}
{% for network in subnet %}
iroute {{ network | address_from_cidr }} {{ network | netmask_from_cidr }}
{% endfor %}
{% endif %}
{# ipv6_remote is only set when IPv6 server is enabled #}
{% if ipv6_remote %}
# IPv6
{% if ipv6_ip %}
ifconfig-ipv6-push {{ ipv6_ip[0] }} {{ ipv6_remote }}
{% endif %}
{% for route6 in ipv6_push_route %}
push "route-ipv6 {{ route6 }}"
{% endfor %}
{% for net6 in ipv6_subnet %}
iroute {{ net6 }}
{% endfor %}
{% endif %}
{% if disable is defined %}
disable
{% endif %}

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 17, 12:14 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4409814
Default Alt Text
client.conf.tmpl (899 B)

Event Timeline