summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2023-07-21 21:23:25 +0000
committerfett0 <fernando.gmaidana@gmail.com>2023-07-21 21:23:25 +0000
commitb805b9950b63a43591799804cc2cacb0fbfb568a (patch)
treebbc6fc2b8ca25fc6fbfda82ee572533543e780da /data
parent26af45a61bbe8b219b57127a869e723b11886522 (diff)
downloadvyos-1x-b805b9950b63a43591799804cc2cacb0fbfb568a.tar.gz
vyos-1x-b805b9950b63a43591799804cc2cacb0fbfb568a.zip
T4974:add/fixed enable ovpn-dco by default
Diffstat (limited to 'data')
-rw-r--r--data/templates/openvpn/server.conf.j24
1 files changed, 4 insertions, 0 deletions
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') %}
#