Skip to content

VPN mode (one WireGuard) #1049

@ignoramous

Description

@ignoramous

Rethink supports connecting to multiple WireGuard upstreams, but then DNS resolution couldn't be tunneled to any ONE of them (but could be to ALL of them, which is wasteful: #979).

Some folks would prefer to run just ONE WireGuard, but in true "VPN" style with DNS queries (and possibly ICMP) also tunneled through it. Doing so would also help simplify / partially address:


Apparently, when i was using the official Wireguard app it would catch DNS queries and route them to my desired resolver from the exit point.

I am now using a weird Pi-Hole setup with a single-board PC at my home running it, Quad9 as the upstream resolver, and i'm routing all of my Wireguard peer's DNS to it, so all DNS queries appear to be coming from my exit point after all.

The problem is, this only works on my home Wi-Fi, because my Pi-Hole is not exposed to the internet and is only accessible over VPN or from home. I rely on Wireguard to access it remotely, but i can't do it with RethinkDNS if i'm not on my home Wi-Fi.

Metadata

Metadata

Assignees

Labels

P1Priority: 1 (urgent)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions