colonelp4nic

joined 2 years ago
[–] colonelp4nic@lemmy.world 1 points 13 hours ago

I agree that straight up using Tailscale would likely be easier. But to answer your question, you're looking to "push routes" because what you actually want to do is "route" but that's kinda hard to Google haha. This looks maybe promising: https://forums.freebsd.org/threads/wireguard-how-to-route-another-subnet-through-it.89744/

[–] colonelp4nic@lemmy.world 2 points 1 week ago (3 children)

This approach largely works, with the caveat that it then requires you to always be on the tailnet. If someone wants to connect locally AND via tailnet using the same URL, they'll need to push/advertise routes (or do some other hacky thing)

[–] colonelp4nic@lemmy.world 2 points 1 week ago* (last edited 1 week ago)

Right now, I've only got the spoons to provide rough guidance, not details. In order to use non-tailnet IPs, you'll need to configure your tailnet host to "advertise routes/push routes". In more laymen terms, tailnet needs to say, "hey network client, I do know where 192.168.0.69 is! So I can route that request". By default, each tailnet host only advertises the other tailnet hosts. Anything else fails.

Also, I really appreciate how detailed your question is!

[–] colonelp4nic@lemmy.world 37 points 1 week ago (9 children)

Former President of the free world. imo, that title now rests with Ursula von der Leyen