3 ms·
If you already have nginx and want to avoid extra dependencies, another option is https://gist.github.com/gdamjan/4586758 https://gist.github.com/gdamjan/458675
by CoffeeOnWrite 4y ago
If you already have nginx and want to avoid extra dependencies, another option is https://gist.github.com/gdamjan/4586758 https://gist.github.com/gdamjan/4586758 .
(I’d love to hear what SirTunnel and caddy bring to the table! I think the auto registering of tunnels is certainly less hacky than the approach in the above gist, but on its own that’s not enough for me to care..)
- anderspitman 4y agoMain difference I see is SirTunnel handles custom domains and auto certs easier. Also, am I reading correctly that the gist allows anyone to create a tunnel without authentication? I would definitely recommend setting up ssh keys and not doing that.
- CoffeeOnWrite 4y agoHeh it does say > It's that simple there's no authentication at all In practice it should require ssh key auth, that’s what I’ve always done. But without requiring password. And limited to just being able to create tunnels via the ForceCommand sshd config.