summaryrefslogtreecommitdiff
path: root/data/templates/ipsec/interfaces_use.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/ipsec/interfaces_use.conf.j2')
-rw-r--r--data/templates/ipsec/interfaces_use.conf.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/ipsec/interfaces_use.conf.j2 b/data/templates/ipsec/interfaces_use.conf.j2
new file mode 100644
index 000000000..c1bf8270d
--- /dev/null
+++ b/data/templates/ipsec/interfaces_use.conf.j2
@@ -0,0 +1,5 @@
+{% if interface is vyos_defined %}
+charon {
+ interfaces_use = {{ ', '.join(interface) }}
+}
+{% endif %} \ No newline at end of file