Page 1 of 1

2.4 Alpha2 Push Options Error

Posted: Sat Oct 29, 2016 12:28 am
by bimmerdriver
I'm trying the alpha release (openvpn-install-2.4_alpha2-I601-x86_64) to set up a client and server on windows 10 computers.

In the server.conf file, I have the following push option:

Code: Select all

push "dhcp-option DNS 2001:569:74bc:6a01:215:5dff:fe5c:e21f"
This results in the following error in the log:

Code: Select all

Fri Oct 28 15:01:25 2016 PUSH: Received control message: 'PUSH_REPLY,block-outside-dns,redirect-gateway def1 bypass-dhcp,redirect-gateway ipv6 def1,route-ipv6 2000::/3,dhcp-option DNS 10.8.0.100,dhcp-option DNS 2001:569:74bc:6a01:215:5dff:fe5c:e21f,tun-ipv6,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig-ipv6 2001:569:74c4:a601::1000/64 2001:569:74c4:a601::1,ifconfig 10.8.0.6 10.8.0.5,peer-id 0,cipher AES-256-GCM'
Fri Oct 28 15:01:25 2016 Options error: dhcp-option parameter DNS '2001:569:74bc:6a01:215:5dff:fe5c:e21f' must be an IP address
With the exception of the ipv6 dns address, everything else was successfully pushed to the client. The dns is a valid ip address and it's also the correct ip address, so this seems to be a bug.

Re: 2.4 Alpha2 Push Options Error

Posted: Sat Oct 29, 2016 2:47 pm
by TinCanTech
Currently, openvpn --dhcp-option DNS does not support IPv6 server address.

Re: 2.4 Alpha2 Push Options Error

Posted: Sat Oct 29, 2016 4:56 pm
by bimmerdriver
How can it support ipv6 but not ipv6 dns? That seems to be somewhat of a problem. ipv4 and ipv6 stacks are supposed to be able to operate independently. Do you know if it's planned to support this for 2.4?

Re: 2.4 Alpha2 Push Options Error

Posted: Sat Oct 29, 2016 10:44 pm
by TinCanTech
Openvpn is bought to you for free by volunteers, this option has not been implemented because the Devs have simply not had the time to do it.

Re: 2.4 Alpha2 Push Options Error

Posted: Wed Nov 30, 2016 9:16 pm
by pinkie
Awesome thanks Image