summaryrefslogtreecommitdiff
path: root/data/templates/openvpn/client.conf.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-18 12:09:50 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-18 12:09:50 +0200
commit217f5d42e17ae5dd55adaab1114cacc7f5a2e280 (patch)
treec78ca41794f7df690604d0ca43d3853e6cb1b192 /data/templates/openvpn/client.conf.tmpl
parente3a6e7f1a55299822da3b2705cbe8c0f787d46e0 (diff)
downloadvyos-1x-217f5d42e17ae5dd55adaab1114cacc7f5a2e280.tar.gz
vyos-1x-217f5d42e17ae5dd55adaab1114cacc7f5a2e280.zip
openvpn: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/openvpn/client.conf.tmpl')
-rw-r--r--data/templates/openvpn/client.conf.tmpl31
1 files changed, 0 insertions, 31 deletions
diff --git a/data/templates/openvpn/client.conf.tmpl b/data/templates/openvpn/client.conf.tmpl
deleted file mode 100644
index 98c8b0273..000000000
--- a/data/templates/openvpn/client.conf.tmpl
+++ /dev/null
@@ -1,31 +0,0 @@
-### Autogenerated by interfaces-openvpn.py ###
-
-{% if ip %}
-ifconfig-push {{ ip[0] }} {{ server_subnet[0] | netmask_from_cidr }}
-{% endif %}
-{% if push_route is vyos_defined %}
-{% for route in push_route %}
-push "route {{ route | address_from_cidr }} {{ route | netmask_from_cidr }}"
-{% endfor %}
-{% endif %}
-{% if subnet is vyos_defined %}
-{% 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-ipv6 {{ net6 }}
-{% endfor %}
-{% endif %}
-{% if disable is vyos_defined %}
-disable
-{% endif %}