From b805b9950b63a43591799804cc2cacb0fbfb568a Mon Sep 17 00:00:00 2001 From: fett0 Date: Fri, 21 Jul 2023 21:23:25 +0000 Subject: T4974:add/fixed enable ovpn-dco by default --- data/templates/openvpn/server.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data/templates/openvpn') diff --git a/data/templates/openvpn/server.conf.j2 b/data/templates/openvpn/server.conf.j2 index 6332ed9c2..525605240 100644 --- a/data/templates/openvpn/server.conf.j2 +++ b/data/templates/openvpn/server.conf.j2 @@ -48,6 +48,10 @@ push "redirect-gateway def1" {% if use_lzo_compression is vyos_defined %} compress lzo {% endif %} +{% if enable_dco is not vyos_defined %} +disable-dco +{% endif %} + {% if mode is vyos_defined('client') %} # -- cgit v1.2.3