I am having trouble with the Windows client of OpenVPN (version 3.1.3 (713), but occurs with older versions down to 2.x as well) on Windows 10.
Specifically, even though the OpenVPN server and client are configured correctly, the DNS settings get pushed from the server to the client and/or are configured locally in the .opvn profile usign dhcp-option DNS ..., yet still, on my particular Windows 10 machine, the DNS settings do not make it into the Windows adapter settings for some reason. It works with the same server and the same .ovpn configurations for other users on their computers, but it does not work on mine. This is not the standard case of wrong adapter priorities, of wrong openvpn configurations and the like. It really seems like a weired issue with my machine and/or a bug in the client that is triggered on my machine.
Here is an excerpt of the log file upon connecting (I "XXXX"ed out information that is sensitive):
Code: Select all
Open TAP device "Ethernet 3" PATH="\\.\Global\{736B960A-26A6-4C1E-A116-CD3528FA7EA1}.tap" SUCCEEDED
TAP-Windows Driver Version 9.23
ActionDeleteAllRoutesOnInterface iface_index=11
netsh interface ip set interface 11 metric=1
OK.
netsh interface ip set address 11 static 192.168.113.9 255.255.255.0 gateway=192.168.113.1 store=active
netsh interface ipv6 add route 2000::/4 interface=1 store=active
OK.
netsh interface ipv6 add route 3000::/4 interface=1 store=active
OK.
netsh interface ipv6 add route fc00::/7 interface=1 store=active
OK.
netsh interface ip add route 192.168.121.0/24 11 192.168.113.1 store=active
OK.
netsh interface ip add route 192.168.122.0/25 11 192.168.113.1 store=active
OK.
NRPT::ActionCreate names=[.XXXXX.local] dns_servers=[192.168.121.30,192.168.121.31]
ipconfig /flushdns
Windows-IP-Konfiguration
Der DNS-Auflösungscache wurde geleert.
TAP handle: b413000000000000
ÔÅÄ15.4.2020, 16:55:27 Connected via TUN_WIN
ÔÅÄ15.4.2020, 16:55:27 EVENT: CONNECTED XXXXX@XXXXXXXXXXXXX:10443 (XXXXXXXXXXXXX) via /TCPv4 on TUN_WIN/192.168.113.9/ gw=[192.168.113.1/]
Code: Select all
Ethernet-Adapter Ethernet 3:
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : TAP-Windows Adapter V9 for OpenVPN Connect
Physische Adresse . . . . . . . . : XXXXXXXXXXXXXXXXXXX
DHCP aktiviert. . . . . . . . . . : Nein
Autokonfiguration aktiviert . . . : Ja
IPv4-Adresse . . . . . . . . . . : 192.168.113.9(Bevorzugt)
Subnetzmaske . . . . . . . . . . : 255.255.255.0
Standardgateway . . . . . . . . . :
NetBIOS über TCP/IP . . . . . . . : Aktiviert
Any help will be greatly appreciated. If this is not the proper forum for this question please point me to the proper forum. Thanks!