summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-22 08:40:03 +0200
committerGitHub <noreply@github.com>2023-07-22 08:40:03 +0200
commitc59765163885cc5bc54df9b194366f8713d065a1 (patch)
treec73d72d9a498bebd696298c67417288fbf374b0a /data/templates
parent7321fa364a8c8c0b1c2fe10aa6580171e5860e4d (diff)
parentb805b9950b63a43591799804cc2cacb0fbfb568a (diff)
downloadvyos-1x-c59765163885cc5bc54df9b194366f8713d065a1.tar.gz
vyos-1x-c59765163885cc5bc54df9b194366f8713d065a1.zip
Merge pull request #2107 from fett0/T4974
T4974:add/fixed enable ovpn-dco by default
Diffstat (limited to 'data/templates')
-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') %}
#