We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems to me that DNS support for Wireguard VPN is not working.
Connect to Wireguard VPN when already connected to DHCP-enabled wifi network:
$ cat /storage/.config/wireguard/myvpn.config [provider_wireguard] Type = WireGuard Name = WireGuard VPN Tunnel Host = 1.2.3.4 Wireguard.Address = 10.1.100.121/24 Wireguard.ListenPort = 1234 Wireguard.PrivateKey = foo Wireguard.PublicKey = bar Wireguard.PresharedKey = baz Wireguard.DNS = 10.1.100.2 Wireguard.AllowedIPs = 10.1.100.0/24 Wireguard.EndpointPort = 2345 Wireguard.PersistentKeepalive = 30 $ connmanctl connect vpn_1_2_3_4 Connected vpn_1_2_3_4 $ wg ## Connected, data transfering in both directions. $ nslookup foo.mydomain.com (does not work, looks up using ISP DNS acquired via DHCP) $ nslookup foo.mydomain.com 10.1.100.2 (resolves correctly) $ cat /etc/resolv.conf # Generated by Connection Manager nameserver $ISP_DHCP_DNS
So it seems connman ignores the desired DNS from wireguard.
I suspect the -r here is the reason:
-r
LibreELEC.tv/packages/network/connman/system.d/connman.service
Line 15 in acc9f05
If the -r is removed, connman would instead run a local DNS proxy and keep track of DNS config properly.
It would be great if at the very least this could be made overridable by env vars (or just re-enable connman's built-in DNS functionality?)
The text was updated successfully, but these errors were encountered:
Overriding connman.service with a version sans -r and DNS over VPN works as expected
connman.service
Sorry, something went wrong.
No branches or pull requests
Describe the bug
It seems to me that DNS support for Wireguard VPN is not working.
To Reproduce
Connect to Wireguard VPN when already connected to DHCP-enabled wifi network:
So it seems connman ignores the desired DNS from wireguard.
I suspect the
-r
here is the reason:LibreELEC.tv/packages/network/connman/system.d/connman.service
Line 15 in acc9f05
If the
-r
is removed, connman would instead run a local DNS proxy and keep track of DNS config properly.It would be great if at the very least this could be made overridable by env vars (or just re-enable connman's built-in DNS functionality?)
Informations
The text was updated successfully, but these errors were encountered: