Blank IP V4 DNS settings

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
jbrines
OpenVpn Newbie
Posts: 3
Joined: Wed Sep 16, 2020 3:12 pm

Blank IP V4 DNS settings

Post by jbrines » Wed Sep 16, 2020 3:14 pm

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.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Blank IP V4 DNS settings

Post by TinCanTech » Wed Sep 16, 2020 4:51 pm

Check your log files.

jbrines
OpenVpn Newbie
Posts: 3
Joined: Wed Sep 16, 2020 3:12 pm

Re: Blank IP V4 DNS settings

Post by jbrines » Thu Sep 17, 2020 2:45 pm

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

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Blank IP V4 DNS settings

Post by TinCanTech » Thu Sep 17, 2020 2:49 pm

This is OpenVPN connect, which is closed source.

jbrines
OpenVpn Newbie
Posts: 3
Joined: Wed Sep 16, 2020 3:12 pm

Re: Blank IP V4 DNS settings

Post by jbrines » Fri Sep 18, 2020 8:52 am

TinCanTech wrote:
Thu Sep 17, 2020 2:49 pm
This is OpenVPN connect, which is closed source.
Is there another forum for support on that?

fh29
OpenVpn Newbie
Posts: 12
Joined: Tue May 18, 2021 5:55 pm

Re: Blank IP V4 DNS settings

Post by fh29 » Tue May 18, 2021 6:54 pm

This issue may be related to the one in this topic: 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 Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Blank IP V4 DNS settings

Post by TinCanTech » Tue May 18, 2021 7:05 pm

Openvpn-connect does not belong on this board.

Now that the corporate stooges have their own board can we please start using it.
viewforum.php?f=37

fh29
OpenVpn Newbie
Posts: 12
Joined: Tue May 18, 2021 5:55 pm

Re: Blank IP V4 DNS settings

Post by fh29 » Tue May 18, 2021 7:14 pm

Sorry about that TinCanTech.

Thread in the correct forum:
viewtopic.php?f=37&t=32325

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Blank IP V4 DNS settings

Post by TinCanTech » Tue May 18, 2021 7:18 pm

@ fh29 - No problem - Your new question is in the right place.

Thanks 8-)

Post Reply