diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-09-10 14:16:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-10 14:16:03 +0100 |
commit | dc1da7cbd594630124211c515592e4b9cefae261 (patch) | |
tree | 271bbe62c7246b6798bb2e75ae9a5876a69e8ab1 /data/templates/openvpn/server.conf.j2 | |
parent | 92504cee34006f2198393a51efd93bea46346ec2 (diff) | |
parent | 8461eea6c964f4a892028b6743d1bc9c5bcce2ff (diff) | |
download | vyos-1x-dc1da7cbd594630124211c515592e4b9cefae261.tar.gz vyos-1x-dc1da7cbd594630124211c515592e4b9cefae261.zip |
Merge pull request #4037 from vyos/mergify/bp/sagitta/pr-3920
OPENVPN: T6555: add server-bridge options in mode server (backport #3920)
Diffstat (limited to 'data/templates/openvpn/server.conf.j2')
-rw-r--r-- | data/templates/openvpn/server.conf.j2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/openvpn/server.conf.j2 b/data/templates/openvpn/server.conf.j2 index 64c8e8086..236584387 100644 --- a/data/templates/openvpn/server.conf.j2 +++ b/data/templates/openvpn/server.conf.j2 @@ -90,7 +90,9 @@ server-ipv6 {{ subnet }} {% endif %} {% endfor %} {% endif %} - +{% if server.bridge is vyos_defined and server.bridge.disable is not vyos_defined %} +server-bridge {{ server.bridge.gateway }} {{ server.bridge.subnet_mask }} {{ server.bridge.start }} {{ server.bridge.stop if server.bridge.stop is vyos_defined }} +{% endif %} {% if server.client_ip_pool is vyos_defined and server.client_ip_pool.disable is not vyos_defined %} ifconfig-pool {{ server.client_ip_pool.start }} {{ server.client_ip_pool.stop }} {{ server.client_ip_pool.subnet_mask if server.client_ip_pool.subnet_mask is vyos_defined }} {% endif %} |