USB150 v3.013 - WireGuard client unable to use GLD DNS


#1

Not sure if this is a bug in the pre-release v3.013, but I cannot get the WireGuard client to work when using the GLD DNS service. It will work if using the IP address.

I get the error:

“VPN client failed to connect. This may be because of wrong configuration, unsupported parameters or terminated by the server.”

I have the exact same config on my Android app using the dns, and it works fine.


#2

Using GL DNS service??? Do you mean DDNS?

You can find the detailed log in Luci -> Status -> System Log. Send the log in here might would be help.


#3

Sorry, yes the DDNS - ******.glddns.com
Note that using the IP address works, but not the URL.
I just plugged in and tried to connect, and the below is the generated log data.

Mon Mar 11 17:25:41 2019 user.notice firewall: Reloading firewall due to ifup of wwan (wlan-sta)
Mon Mar 11 17:26:56 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED b0:2a:43:fd:bc:09
Mon Mar 11 17:26:59 2019 daemon.info hostapd: wlan0: STA b0:2a:43:fd:bc:09 IEEE 802.11: authenticated
Mon Mar 11 17:26:59 2019 daemon.info hostapd: wlan0: STA b0:2a:43:fd:bc:09 IEEE 802.11: associated (aid 1)
Mon Mar 11 17:26:59 2019 daemon.notice hostapd: wlan0: AP-STA-CONNECTED b0:2a:43:fd:bc:09
Mon Mar 11 17:26:59 2019 daemon.info hostapd: wlan0: STA b0:2a:43:fd:bc:09 RADIUS: starting accounting session 3BB93CB3D7D05609
Mon Mar 11 17:26:59 2019 daemon.info hostapd: wlan0: STA b0:2a:43:fd:bc:09 WPA: pairwise key handshake completed (RSN)
Mon Mar 11 17:27:00 2019 daemon.info dnsmasq-dhcp[4290]: DHCPDISCOVER(br-lan) b0:2a:43:fd:bc:09
Mon Mar 11 17:27:00 2019 daemon.info dnsmasq-dhcp[4290]: DHCPOFFER(br-lan) 192.168.8.119 b0:2a:43:fd:bc:09
Mon Mar 11 17:27:00 2019 daemon.info dnsmasq-dhcp[4290]: DHCPREQUEST(br-lan) 192.168.8.119 b0:2a:43:fd:bc:09
Mon Mar 11 17:27:00 2019 daemon.info dnsmasq-dhcp[4290]: DHCPACK(br-lan) 192.168.8.119 b0:2a:43:fd:bc:09
Mon Mar 11 17:28:26 2019 daemon.info dnsmasq[4290]: exiting on receipt of SIGTERM
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: started, version 2.80test2 cachesize 150
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: DNS service limited to local subnets
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq-dhcp[8329]: DHCP, IP range 192.168.8.100 -- 192.168.8.249, lease time 12h
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain test
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain onion
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain localhost
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain local
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain invalid
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain bind
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain lan
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: reading /tmp/resolv.conf.vpn
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain test
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain onion
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain localhost
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain local
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain invalid
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain bind
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using local addresses only for domain lan
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: using nameserver 64.6.64.6#53
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: read /etc/hosts - 4 addresses
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: read /tmp/hosts/odhcpd - 1 addresses
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq[8329]: read /tmp/hosts/dhcp.cfg01411c - 3 addresses
Mon Mar 11 17:28:28 2019 daemon.info dnsmasq-dhcp[8329]: read /etc/ethers - 0 addresses
Mon Mar 11 17:28:39 2019 daemon.info dnsmasq[8329]: exiting on receipt of SIGTERM
Mon Mar 11 17:28:40 2019 daemon.info dnsmasq[8790]: started, version 2.80test2 cachesize 150
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: DNS service limited to local subnets
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq-dhcp[8790]: DHCP, IP range 192.168.8.100 -- 192.168.8.249, lease time 12h
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain test
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain onion
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain localhost
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain local
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain invalid
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain bind
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain lan
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: reading /tmp/resolv.conf.auto
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain test
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain onion
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain localhost
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain local
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain invalid
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain bind
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using local addresses only for domain lan
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using nameserver 172.17.137.254#53
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using nameserver 61.9.242.33#53
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: using nameserver 61.9.226.33#53
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: read /etc/hosts - 4 addresses
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: read /tmp/hosts/odhcpd - 1 addresses
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq[8790]: read /tmp/hosts/dhcp.cfg01411c - 3 addresses
Mon Mar 11 17:28:41 2019 daemon.info dnsmasq-dhcp[8790]: read /etc/ethers - 0 addresses

#4

Did you have a public IP address for your router? The DDNS only work when you have a public IP address.


#5

I do.
This is confirmed with the DDNS set in the WireGuard settings on my Android phone, that does work.
Which leads me to believe there is something going on with the micro-router/firmware.


#6

Could you please PM me your WireGuard configuration file? So I can debug the issue.