Accessing OpenVPN Connected Devices
We have a need to be able to access devices that are connected via OpenVPN.
We are doing this now by using VPN | OpenVPN | Client Specific Overrides and creating an override for each user. Specifically, we add:
ifconfig-push 10.0.99.31 255.255.255.0
(for example) to the user's Client Settings | Advanced. This works but we also have to add matching Host Overrides under Services | DNS Resolver | General Settings, so that we can access the host by name.
- Is there a better way to do this?
- Is there a way to have a full DHCP server on the OpenVPN private network?
Thanks in advance!
Is there a better way to do this?
Probably not. You could hand out addresses via RADIUS but either way it's manually managed.
Is there a way to have a full DHCP server on the OpenVPN private network?
Not in any meaningful way. You could bridge the VPN to a local interface with a DHCP/DNS structure, but that has other drawbacks.