Re:SSH and User-Mode IP WireGuard
by tptacek on Tuesday March 02, 2021 @12:11PM
(#26317561)
Yes! This person gets it.
[ Parent
| on HN ]
I'm a fan of the writing style. It reminds of smart people I know. I haven't bought any fly.io yet, so I don't know that I'm you're target market. Still--well said, repeatedly.
Re:SSH and User-Mode IP WireGuard
by ficklepickle on Tuesday March 02, 2021 @04:09PM
(#26320785)
I've had a fly.io tab open for months. I haven't had time to use it yet, but something in me won't let me close that tab.
I wish I could tell you it would eat a bunch of your time, engaging your curiosity and sense of wonder all the way, but really what's going to happen is you're going to install `flyctl`, go somewhere with a Dockerfile, do `flyctl app create` and then `flyctl app deploy` and it's going to just work. :)
Re:SSH and User-Mode IP WireGuard
by omribahumi on Tuesday March 02, 2021 @05:19PM
(#26321841)
Have you considered using ssh command's ProxyCommand option? It allows you to replace the TCP transport with communication over stdin/stdout.
It could help you replace the TUN with something more cross platform, and possibly with less overhead. You can pass in the hostname using %h, so you can even have virtual DNS.
How does that help us here? Without WireGuard, there's no channel with which you can talk to a Fly Hallpass instance, by design.
Implement the userspace wireguard client and TCP stack as a ProxyCommand, make something useful for the general case of SSH'ing over wireguard.