Hi,

On 22/11/18 15:43, Arne Schwabe wrote:
Am 22.11.18 um 14:46 schrieb Cyril Scetbon:
OpenVPN 2.4.6 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4]
[EPOLL] [MH/PKTINFO] [AEAD] built on Jul  8 2018

Output with —verb 4 https://pastebin.com/huQmnGaU

Read your log closer. This is not a bug in OpenVPN but rather a broken
config what we accepted in 2.3:

Thu Nov 22 13:34:56 2018 us=235164 PUSH: Received control message:
'PUSH_REPLY,route 10.0.0.0 255.0.0.0,route 192.168.174.0
255.255.255.0,route 193.252.149.32 255.255.255.224,route 193.252.121.96
255.255.255.224,dhcp-option DNS 10.201.67.120,dhcp-option DOMAIN
cyril.net cyril2.net,route 10.252.12.150,topology net30,ping
5,ping-restart 30,ifconfig 10.252.12.158 10.252.12.157'

Thu Nov 22 13:34:56 2018 us=235314 Options error: Unrecognized option or
missing or extra parameter(s) in [PUSH-OPTIONS]:6: dhcp-option (2.4.6)

OpenVPN gets 'dhcp-option DOMAIN cyril.net cyril2.net' via push and
using two arguments after DOMAIN is wrong but OpenVPN 2.3 ignored the
second argument while 2.4 gives you an error and ignores the whole option.
so what Arne is trying to say is:

with 2.4, do not use
  push "dhcp-option DOMAIN cyril.net cyril2net"
but use
  push 'dhcp-option "DOMAIN cyril.net cyril2net"'
instead.
Having said, that, pushing two DOMAINS does not make sense, AFAIK: Windows will 
only pick up one of them...

HTH,

JJK



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to