summaryrefslogtreecommitdiff
path: root/data/templates/openvpn/client.conf.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 20:08:15 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 20:08:15 +0200
commit8d74fc8f93ddf891eb0fd9ae862d2bdb4219921d (patch)
tree994f2e3e3c5f2d93d16ae775a306274e96727f97 /data/templates/openvpn/client.conf.tmpl
parent0d3d446fefe1ec0ad39b6309bfc3910718bc52a0 (diff)
downloadvyos-1x-8d74fc8f93ddf891eb0fd9ae862d2bdb4219921d.tar.gz
vyos-1x-8d74fc8f93ddf891eb0fd9ae862d2bdb4219921d.zip
openvpn: improve value help on ipfix
Diffstat (limited to 'data/templates/openvpn/client.conf.tmpl')
-rw-r--r--data/templates/openvpn/client.conf.tmpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/templates/openvpn/client.conf.tmpl b/data/templates/openvpn/client.conf.tmpl
new file mode 100644
index 000000000..3099f2ca7
--- /dev/null
+++ b/data/templates/openvpn/client.conf.tmpl
@@ -0,0 +1,16 @@
+### Autogenerated by interfaces-openvpn.py ###
+
+{% if ip -%}
+ifconfig-push {{ ip }} {{ remote_netmask }}
+{% endif -%}
+{% for route in push_route -%}
+push "route {{ route }}"
+{% endfor -%}
+
+{% for net in subnet -%}
+iroute {{ net }}
+{% endfor -%}
+
+{% if disable -%}
+disable
+{% endif -%}