How to turn off DNS routing in tunnel on peers? #313
Unanswered
BrainDra1n
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have HAOS running on Raspberry PI. I would like to access HA from my android smartphone over internet. I have setup WireGuard addon to give access to the WireGuard app on the smartphone. Which does work, but...
In my configuration my smartphone is now dependent on the HAOS running and the home internet connection working. Or in other words, when my home systems are not available the smartphone can not access internet on my smartphone. Behind this is the DNS name resolution that runs over the HAOS.
The server configuration is:
This causes WireGuard on HAOS to use DNS 172.30.32.3. As a consequence WireGuard on my smartphone routes all DNS requests to this DNS address. Which runs on the HAOS.
When I turn off the HAOS machine (Rapsberry Pi) or disconnect my internet router, the name resolution on the smartphone fails to resolve.
I would like to remove this dependency.
Ofcourse I can disable the Wireguard tunnel on the smartphone when this happens. But this requires me to monitor the correct functioning of the tunnel. And I'm not the only user in my setup. And the other users are not that tech savvy. So preferably the tunnel needs to remain enabled and DNS resolution should still work.
So what I would like to achieve is that the tunnel does not interfere with DNS resolution on the peers.
For some options in the configuration you can configure 'off'. That does not work for the dns:
This causes an error message 'invalid list for option dns' when saving the configuration.
So how do I disable the dns option?
Beta Was this translation helpful? Give feedback.
All reactions