diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-31 11:01:43 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-31 11:02:01 +0100 |
commit | 215ddbe0bc51417b7ba66298764810754b204082 (patch) | |
tree | 6ed633f29024ed9186a99435cd2b5546598b5a27 /src/conf_mode | |
parent | 4e63a3966b352a0ada8444fa80ec6bee97b45213 (diff) | |
download | vyos-1x-215ddbe0bc51417b7ba66298764810754b204082.tar.gz vyos-1x-215ddbe0bc51417b7ba66298764810754b204082.zip |
openvpn: T2994: fix ipv6 server mode
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/interfaces-openvpn.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/conf_mode/interfaces-openvpn.py b/src/conf_mode/interfaces-openvpn.py index 25920f893..e4a6a5ec1 100755 --- a/src/conf_mode/interfaces-openvpn.py +++ b/src/conf_mode/interfaces-openvpn.py @@ -284,19 +284,6 @@ def verify(openvpn): if IPv6Address(client['ipv6_ip'][0]) in v6PoolNet: print(f'Warning: Client "{client["name"]}" IP {client["ipv6_ip"][0]} is in server IP pool, it is not reserved for this client.') - else: - for route in (dict_search('server.push_route', openvpn) or []): - if is_ipv6(route): - raise ConfigError('IPv6 push-route requires an IPv6 server subnet') - - #for client in openvpn ['client']: - # if client['ipv6_ip']: - # raise ConfigError(f'Server client "{client["name"]}" IPv6 IP requires an IPv6 server subnet') - # if client['ipv6_push_route']: - # raise ConfigError(f'Server client "{client["name"]} IPv6 push-route requires an IPv6 server subnet"') - # if client['ipv6_subnet']: - # raise ConfigError(f'Server client "{client["name"]} IPv6 subnet requires an IPv6 server subnet"') - else: # checks for both client and site-to-site go here if dict_search('server.reject_unconfigured_clients', openvpn): |