diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-14 11:35:42 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-14 11:35:44 +0100 |
commit | 9f49458a70f077fff8ac98836ed4e091f65fa221 (patch) | |
tree | 3341ac8781a39d6c1fe83f720a02d76ac81c1bb8 /data/templates/openvpn/server.conf.tmpl | |
parent | 13190431a45b09f9f110718c1036d8f38bbeff4f (diff) | |
download | vyos-1x-9f49458a70f077fff8ac98836ed4e091f65fa221.tar.gz vyos-1x-9f49458a70f077fff8ac98836ed4e091f65fa221.zip |
openvpn: T2550: default connection protocol to udp
setting this to udp will allow both IPv4 and IPv6 connections. According to the
MAN page: proto indicates the protocol to use when connecting with the remote,
and may be "tcp" or "udp". For forcing IPv4 or IPv6 connection suffix tcp or
udp with 4/6 like udp4/udp6/tcp4/tcp6.
Diffstat (limited to 'data/templates/openvpn/server.conf.tmpl')
-rw-r--r-- | data/templates/openvpn/server.conf.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl index a510c3a84..1fdf6b848 100644 --- a/data/templates/openvpn/server.conf.tmpl +++ b/data/templates/openvpn/server.conf.tmpl @@ -18,7 +18,7 @@ proto tcp6-client {% elif protocol == 'tcp-passive' %} proto tcp6-server {% else %} -proto udp6 +proto udp {% endif %} {% if local_host is defined and local_host is not none %} local {{ local_host }} |