From 2ec45d24a1500acdc858486e37c380d9b0ac6e96 Mon Sep 17 00:00:00 2001
From: Micah Anderson <micah@riseup.net>
Date: Thu, 3 Jun 2021 13:33:46 -0400
Subject: [PATCH] openvpn config: fix proto in template

---
 config/roles/openvpn/templates/udp.conf.j2 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/config/roles/openvpn/templates/udp.conf.j2 b/config/roles/openvpn/templates/udp.conf.j2
index 34fc1a2f..334a7c3f 100644
--- a/config/roles/openvpn/templates/udp.conf.j2
+++ b/config/roles/openvpn/templates/udp.conf.j2
@@ -12,7 +12,6 @@ duplicate-cn
 keepalive 10 30
 mute-replay-warnings
 mute 5
-proto udp6
 push "redirect-gateway def1 ipv6"
 push "dhcp-option DNS {{ openvpn_network | ipaddr('1') | ipaddr('address') }}"
 {% if openvpn_network6 is defined and openvpn_network6|length %}
@@ -21,7 +20,7 @@ server-ipv6 {{ openvpn_network6 }}
 push "route-ipv6 2000::/3"
 push "dhcp-option DNS {{ openvpn_network6 }}"
 {% else %}
-proto tcp
+proto udp
 push "ifconfig-ipv6 fd15:53b6:dead::2/64 fd15:53b6:dead::1"
 block-ipv6
 {% endif %}
-- 
GitLab