Re: DNS vs. Route preference
Grant Erickson <[email protected]>
| Newsgroups | dev.linux.lists.connman |
|---|---|
| Message-ID | <[email protected]> |
On Jul 15, 2024, at 11:09 AM, Thomas Bartosik <[email protected]> wrote: > I am using Debian's connman 1.41 and openVPN. > > I have to set a route preference ("move-before") for my local connection before the VPN, as otherwise packets don't get routed via the default gateway. > > However, that also makes my local connection's DNS server the preferred one over the one that gets pushed via VPN. > > I do get correct DNS responses for internal domains that only exist internally. > > But there are services which have an internal and an external IP (for their publicly visible A record), and when connected via VPN, I want to get a response for (and connect to) the internal IP. > > Is this achievable/which configuration options do I have to set? I’ll defer to others that have far more experience with VPNs in ConnMan than I have. > Or is this already improved in 1.42 and/or current git versions and should I test the current master? There are a large number of fixes and improvements between 1.41 and top-of-tree. However, please note that per this thread, there are issues with VPNs and later versions: https://lore.kernel.org/connman/[email protected]/ https://github.com/LibreELEC/LibreELEC.tv/commit/998f2bcfd5849e3eecda6f753ff5bab68a847aea Best, Grant -- Principal Nuovations [email protected] https://www.nuovations.com/