2.4 Alpha2 Push Options Error

Weekly dev snapshots are available for testing.
We talk about them here. Testing features in the dev snapshot helps the features make it to stable.
Forum rules
Please report your experience with testing branch. Include what you were using and how
If there is a problem, the more info the better!
Post Reply
bimmerdriver
OpenVPN Power User
Posts: 54
Joined: Thu Sep 08, 2016 7:56 pm

2.4 Alpha2 Push Options Error

Post by bimmerdriver » Sat Oct 29, 2016 12:28 am

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.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 2995
Joined: Fri Jun 03, 2016 1:17 pm

Re: 2.4 Alpha2 Push Options Error

Post by TinCanTech » Sat Oct 29, 2016 2:47 pm

Currently, openvpn --dhcp-option DNS does not support IPv6 server address.

bimmerdriver
OpenVPN Power User
Posts: 54
Joined: Thu Sep 08, 2016 7:56 pm

Re: 2.4 Alpha2 Push Options Error

Post by bimmerdriver » Sat Oct 29, 2016 4:56 pm

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?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 2995
Joined: Fri Jun 03, 2016 1:17 pm

Re: 2.4 Alpha2 Push Options Error

Post by TinCanTech » Sat Oct 29, 2016 10:44 pm

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.

pinkie
OpenVpn Newbie
Posts: 2
Joined: Wed Nov 30, 2016 9:14 pm

Re: 2.4 Alpha2 Push Options Error

Post by pinkie » Wed Nov 30, 2016 9:16 pm

Awesome thanks Image

Post Reply