You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> @merlinuwe On your phone, copy an existing wireguard tunnel that you're able to use to access your PiHole. (Long press to get the copy option).
Test the duplicate entry and make sure it works. Then disconnect.
Edit that entry.
Rename the tunnel to PiHole DNS (or similar)
in the interface section, set DNS to 192.168.178.100.
in the peer section, set Allowed IPs to 192.168.178.100/32
Save
Explanation The "Allowed IPs" entry for a peer is the list of IP addresses and subnets that are reachable via a peer. Commonly that's set to 0.0.0.0/0, ::/0 which means "all IPv4 and all IPv6 addresses". Your phone will try to send all traffic (for included apps) through that tunnel. By setting it to 192.168.178.100/32 then your phone will ONLY use that tunnel to access your DNS server and all other traffic will take other routes.
This works like a charm, thanks!
Would be nice, if we could have a on/off switch for "only tunnel DNS traffic" @zaneschepke
This works like a charm, thanks!
Would be nice, if we could have a on/off switch for "only tunnel DNS traffic" @zaneschepke
Originally posted by @Lycidias93 in #404 (comment)
The text was updated successfully, but these errors were encountered: