Feature #10999
closedAllow to register OpenVPN Remote Access (User Auth) client in DNS Resolver
100%
Description
Starting from 2.4.5 OpenVPN server supports "Username as Common Name" (#8289) option:
When a user authenticates, if this option is enabled then the username of the client will be used in place of the certificate common name for purposes such as determining Client Specific Overrides.
This option allows to use "Register connected OpenVPN clients in the DNS Resolver" feature for "Remote Access (User Auth)" mode
Files
Updated by Viktor Gurov about 4 years ago
Updated by Renato Botelho about 4 years ago
- Status changed from New to Feedback
- Assignee set to Viktor Gurov
PR has been merged. Thanks!
Updated by Viktor Gurov about 4 years ago
- % Done changed from 0 to 100
Applied in changeset 3b88d9712b187602e946faeecc5f4902904b6d4c.
Updated by Kris Phillips about 4 years ago
Updated by Kris Phillips about 4 years ago
Tested this and it doesn't appear to work. We have a client who applied this patch to 2.4.5p1 and enabled both the Common Name and DNS Resolver settings, but it did not work. This firewall had the DNS Resolver in Forwarding Mode, but DHCP leases work fine. See attached screenshots.
Updated by Viktor Gurov about 4 years ago
- Status changed from Feedback to Resolved
Kris Phillips wrote:
Tested this and it doesn't appear to work. We have a client who applied this patch to 2.4.5p1 and enabled both the Common Name and DNS Resolver settings, but it did not work. This firewall had the DNS Resolver in Forwarding Mode, but DHCP leases work fine. See attached screenshots.
You need to restart/re-save OpenVPN server after enabling 'Register connected OpenVPN clients in the DNS Resolver' in DNS Resolver
tested on 2.5.0.a.20201023.1850 - works as expected