RC RANDOM CHAOS

SSH and Nginx Enable Self-Hosted HTTP Tunnels

· via Hacker News

Original source

Self-hosted HTTP tunnels with SSH and Nginx

Hacker News →

A developer outlines how to create self-hosted HTTP tunnels using only OpenSSH and Nginx. The method involves forwarding connections from a remote server to a local service and configuring Nginx to proxy requests. The solution is designed to be a self-hosted alternative to commercial services like ngrok. Access control is enhanced using the ngx_http_secure_link_module to secure the setup with hashed credentials. The article also provides a helper script to simplify the process, making it easier to generate and share secure URLs for the tunnels.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.