E-Ink News Daily

← Back to list

Self-hosted HTTP tunnels with SSH and nginx

The article demonstrates how to build a self-hosted HTTP tunnel using only OpenSSH and nginx, exposing a local localhost service via SSH remote port forwarding. The author provides a complete nginx reverse proxy configuration with wildcard SSL certificates, DNS setup, and notes the security limitation of relying solely on an allocated port number as the access secret.

Background

SSH port forwarding is a common technique for exposing local services, typically through third-party tools like ngrok. Self-hosting such tunnels avoids dependency on commercial services and improves privacy.

Source
Lobsters
Published
Oct 5, 2026 at 03:08 AM
Score
5.0 / 10