eventure / hide.client.linux

Hide.me CLI VPN client for Linux
https://hide.me
GNU General Public License v2.0
90 stars 35 forks source link

Failure to connect: DNS lookup error #20

Open lyndhurst opened 1 year ago

lyndhurst commented 1 year ago

Hi, I am testing this cli application from the AUR repo for the first time. I manage to get an access token, and firewall is off. When I try connect, it seems to be working, but, right after the program adds the rules, I get this error:

Resolve: [ERR] -u.hideservers.net lookup failed, lookup -u.hideservers.net: no such host

Any idea what's wrong?

zwejst3in commented 8 months ago

Looks like the -u option is set after connect

But i have a similar problem here on

$ sudo ./hide.me connect de.hideservers.net Link: Generated a new wireguard private key Link: Wireguard interface vpn activated Link: Wireguard device vpn configured Link: DHCP bypass throw route 255.255.255.255/32 mtu 0 table 55555 added Link: Loopback route 0.0.0.0/0 dev lo mtu 0 table 55555 added Link: Loopback route ::/0 dev lo mtu 0 table 55555 added Link: IPv4 RPDB rule added Link: IPv6 RPDB rule added Init: Done Conn: Connecting in 0s Name: [ERR] de.hideservers.net lookup failed: lookup de.hideservers.net: i/o timeout

This is what i get with journalctl -f:

Dez 02 20:29:38 rocky systemd[1]: Starting Fingerprint Authentication Daemon... Dez 02 20:29:38 rocky systemd[1]: Started Fingerprint Authentication Daemon. Dez 02 20:29:43 rocky sudo[4578]: tux : TTY=pts/1 ; PWD=/opt/hide.me ; USER=root ; COMMAND=/bin/journalctl -f Dez 02 20:29:43 rocky sudo[4578]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000) Dez 02 20:30:06 rocky sudo[4593]: tux : TTY=pts/0 ; PWD=/opt/hide.me ; USER=root ; COMMAND=./hide.me connect de.hideservers.net Dez 02 20:30:06 rocky sudo[4593]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000) Dez 02 20:30:06 rocky NetworkManager[1049]: [1701545406.7173] manager: (vpn): new WireGuard device (/org/freedesktop/NetworkManager/Devices/6) Dez 02 20:30:08 rocky systemd[1]: fprintd.service: Deactivated successfully.

Same configuration on kubuntu 22.04 works like a charm

Do i need a specific group thus the resolv.conf can be replaced correctly?