Skip to content

Self-hosted HTTP tunnels with SSH and Nginx

7.6 relevance
Score Breakdown
technical depth
9
novelty
6
actionability
9
community
8
strategic
3
personal
8

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

Practical deep-dive into SSH tunneling and Nginx for self-hosted infrastructure.

General vincent.bernat.ch
Self-hosted HTTP tunnels with SSH and Nginx
Summary

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 forward to localhost:8080

Author

Vincent Bernat