summaryrefslogtreecommitdiff
path: root/data/templates/openvpn
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-21 11:59:37 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-21 11:59:37 +0100
commit8783a4b2db12554cca805e70177366e222d1dfd6 (patch)
tree194d38fdde5141e5e13cd605a1db439cd5d082a4 /data/templates/openvpn
parenteb8bac3df75ae239de39c65f24ffd8a9060bd8d4 (diff)
downloadvyos-1x-8783a4b2db12554cca805e70177366e222d1dfd6.tar.gz
vyos-1x-8783a4b2db12554cca805e70177366e222d1dfd6.zip
openvpn: T3060: always listen op IPv4 and IPv6 sockets
Diffstat (limited to 'data/templates/openvpn')
-rw-r--r--data/templates/openvpn/server.conf.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl
index 1fdf6b848..a2eb0b38b 100644
--- a/data/templates/openvpn/server.conf.tmpl
+++ b/data/templates/openvpn/server.conf.tmpl
@@ -14,9 +14,9 @@ dev {{ ifname }}
persist-key
iproute /usr/libexec/vyos/system/unpriv-ip
{% if protocol == 'tcp-active' %}
-proto tcp6-client
+proto tcp-client
{% elif protocol == 'tcp-passive' %}
-proto tcp6-server
+proto tcp-server
{% else %}
proto udp
{% endif %}