summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/openvpn/server.conf.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl
index 84836f177..7e28afc44 100644
--- a/data/templates/openvpn/server.conf.tmpl
+++ b/data/templates/openvpn/server.conf.tmpl
@@ -37,9 +37,9 @@ secret {{ shared_secret_key_file }}
{% if persistent_tunnel is defined %}
persist-tun
{% endif %}
-{% if redirect_gateway is defined and redirect_gateway.local is defined %}
+{% if replace_default_route is defined and replace_default_route.local is defined %}
push "redirect-gateway local def1"
-{% elif redirect_gateway is defined %}
+{% elif replace_default_route is defined %}
push "redirect-gateway def1"
{% endif %}
{% if use_lzo_compression is defined %}