GNU/Lisp Enthusiast!

  • 1 Post
  • 7 Comments
Joined 3 years ago
cake
Cake day: June 16th, 2023

help-circle
  • Yes your description is just right and is the heart of my question. To use your terminology:

    Currently:

    • Away from home: Phone -> VM -> Home Server
    • At home: Phone -> VM -> Home Server (inefficient!)

    Ideally:

    • Away from home: Phone -> VM -> Home Server
    • At home: Phone -> Home Server

    In the ideal case, I would never have to change anything about the wireguard config/status on the Phone, nor would I have to change the domain name used to reach the resource on the Home Server.


  • Oh hm I didn’t think about your last point, maybe it’s not really an issue at all. I think I’m not 100% on how the wireguard networking works.

    Suppose I tunnel all of my traffic through wireguard on the remote server. Say that while I am home, I request foo.local, which on the remote server DNS maps to a wireguard address corresponding to my home machine. The remote will return to me the wireguard address corresponding to the home machine, and then I will try and go to that wireguard address. Will the home router recognize that that wireguard address is local and not send it out to the remote server?