General

Vincent Bernat: Self-hosted HTTP tunnels with SSH and nginx

A friend wants to proofread your work-in-progress blog post, but its preview only runs on localhost:8080. Several tools can help. Some run as a commercial service, like ngrok or Cloudflare Quick Tunnels. Some are self-hostable but require a specific client, like frp or localtunnel. Some only require a plain SSH client but rely on a specific SSH server, like sish. Let’s implement a self-hosted solution with only OpenSSH and nginx! $ ssh -R 0:localhost:8080 http-over-ssh Allocated port 41535 for remote…

Quelle: Originalartikel öffnen

AI Assistant
Context loaded: Vincent Bernat: Self-hosted HTTP tunnels with SSH and nginx