rtr7 / router7

router7 is a small home internet router completely written in Go. It is implemented as a gokrazy appliance.
https://router7.org
Apache License 2.0
2.68k stars 109 forks source link

WireGuard use-case: connect external computers into home network #51

Open stapelberg opened 4 years ago

stapelberg commented 4 years ago

Raw WireGuard support was added in https://github.com/rtr7/router7/issues/14, this issue covers a specific use-case.

At a high level: when traveling, it should be possible to use WireGuard to connect to router7 and get access to machines on the lan0 interface.

Also, outgoing IPv4 and IPv6 traffic should be routed to the internet.

It should be possible to set up multiple such tunnels (e.g. one per computer that needs access).

joneskoo commented 4 years ago

You won’t like the implementation but bear with me: possibly you could consider generating the client configs as QR code while at it. Makes it super easy to add mobile clients.

The server address should probably be a dyndns name.

I prefer to do a split tunnel on my mobile devices but DNS over the tunnel for performance reasons and to have like-home experience. But having option to route Internet over tunnel is great still.

https://gist.github.com/joneskoo/6d23f202a72314fc04401a8480b281b0

stapelberg commented 4 years ago

As mentioned on stream, I think QR codes are a great idea for configuration.