From 9f49458a70f077fff8ac98836ed4e091f65fa221 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 14 Nov 2020 11:35:42 +0100 Subject: 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. --- data/templates/openvpn/server.conf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }} -- cgit v1.2.3