jbrines Not sure if is the right place for the question. I am using OpenVPN Connect to connect to a Watchguard firewall. It connects and gets an IP address fine but it doesn't get IP V4 dns server details.
jbrines Looked the logs and this is what I get Windows IP Configuration Successfully flushed the DNS Resolver Cache. Thu Sep 17 15:29:00 2020 connection from C:\Program Files\OpenVPN Connect\OpenVPNConnect.exe Thu Sep 17 15:29:00 2020 HTTP request received from NAMED_PIPE HTTP Request method=POST uri=/add-bypass-route version=1/1 [0] Host=\\.\pipe\agent_ovpnconnect [1] Content-Type=application/json [2] Content-Length=47 [3] Accept=*/* Thu Sep 17 15:29:02 2020 netsh interface ip add route 31.121.74.154/32 10 192.168.0.1 store=active Ok. Thu Sep 17 15:29:05 2020 connection from C:\Program Files\OpenVPN Connect\OpenVPNConnect.exe Thu Sep 17 15:29:05 2020 HTTP request received from NAMED_PIPE HTTP Request method=POST uri=/tun-setup version=1/1 [0] Host=\\.\pipe\agent_ovpnconnect [1] Content-Type=application/json [2] Content-Length=1523 [3] Accept=*/* Thu Sep 17 15:29:05 2020 proxy_auto_config_url Thu Sep 17 15:29:25 2020 TUN SETUP TAP ADAPTERS: guid='{9BA83CB3-B29D-42E4-9FE8-88B10F8FF5CA}' index=7 name='Local Area Connection' Open TAP device "Local Area Connection" PATH="\\.\Global\{9BA83CB3-B29D-42E4-9FE8-88B10F8FF5CA}.tap" SUCCEEDED TAP-Windows Driver Version 9.24 ActionDeleteAllRoutesOnInterface iface_index=7 netsh interface ip set interface 7 metric=1 Ok. netsh interface ip set address 7 static 10.0.200.11 255.255.255.0 gateway=10.0.200.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 10.0.0.0/22 7 10.0.200.1 store=active Ok. netsh interface ip add route 10.0.100.0/24 7 10.0.200.1 store=active Ok. netsh interface ip add route 172.16.0.0/30 7 10.0.200.1 store=active Ok. netsh interface ip add route 192.168.10.0/24 7 10.0.200.1 store=active Ok. NRPT::ActionCreate names=[.clarkcontracts.local] dns_servers=[10.0.0.61,10.0.0.65] ipconfig /flushdns Windows IP Configuration Successfully flushed the DNS Resolver Cache. Thu Sep 17 15:29:26 2020 TUN CONFIRM
jbrines TinCanTech wrote This is OpenVPN connect, which is closed source. Is there another forum for support on that?
fh29 This issue may be related to the one in this topic: https://forums.openvpn.net/viewtopic.php?f=5&t=30124 I don't get why OpenVPN Connect uses "NRPT::ActionCreate" (which is not a valid cmdlet on my Windows machine) instead of "netsh" (which works fine) in order to set the DNS.
TinCanTech Openvpn-connect does not belong on this board. Now that the corporate stooges have their own board can we please start using it. https://forums.openvpn.net/viewforum.php?f=37
fh29 Sorry about that TinCanTech. Thread in the correct forum: https://forums.openvpn.net/viewtopic.php?f=37&t=32325