OpenVPN Access Server Client IP/ DNS Allocation

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
wizard1
OpenVpn Newbie
Posts: 1
Joined: Wed Nov 08, 2017 8:06 pm

OpenVPN Access Server Client IP/ DNS Allocation

Post by wizard1 » Wed Nov 08, 2017 8:16 pm

Hi!

I've been using a combination of pfSense and OpenVPN for some time and it's been working really well. But, I decided I would like to take advantage of some of the features available when using the standalone OpenVPN Access Server.

However, I've noticed that clients do not seem to be getting their IP address and DNS settings set correctly when they establish connection, as the below images show:

https://imgur.com/keGKH3H
https://imgur.com/hNlw5iW
https://imgur.com/WrpjgyL

You can see that the client receives an address with an incorrect subnet mask and the specified DNS server addresses do not get applied - IPv6 addresses seem to have come from somewhere.

Have anyone else encountered this? Or can tell me what I'm doing wrong.

Any information appreciated.

Thanks,
Wizard

User avatar
novaflash
OpenVPN Inc.
Posts: 1073
Joined: Fri Apr 13, 2012 8:43 pm

Re: OpenVPN Access Server Client IP/ DNS Allocation

Post by novaflash » Fri Nov 10, 2017 11:13 am

OpenVPN2 runs on single thread so to use multiple CPU cores we spawn multiple OpenVPN daemons. Each gets a portion of the subnet. Communication between the portions is perfectly possible.

IPv6 address seems to be self-assigned addresses. This happens when you use the split-DNS function (DNS Resolution Zones feature). DNS servers then do not get applied in the network interfaces but in NRPT on Windows.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.

Post Reply