Skip to content
S

Selfhosted Gateway

Self-hosted Docker native tunneling to localhost

by hintjenFree

#1603in Developer Tools
0In stores

Description

Self-hosted Gateway lets you expose Docker containers running on your own machine to the public internet, using a WireGuard tunnel to a smal…

Highlights

  • Expose local Docker services to the internet
  • WireGuard tunnel to your own gateway
  • Automatic HTTPS with Caddy
  • Works behind CGNAT and without port forwarding
  • Optional basic authentication

Ratings & Reviews

No ratings yet

Be the first to rate Selfhosted Gateway.

People also visit

D

Drip Tunnel

Self-hosted tunneling solution to expose localhost securely

Developer Tools
Launch
W

Wiredoor

Self hosted ingress-as-a-service platform

Developer Tools
Launch
N

Nginx Proxy Manager

Docker container for managing Nginx proxy hosts

Developer Tools
Launch
S

sish

HTTP(S)/WS(S)/TCP tunnels to localhost using only SSH (serveo/ngrok alternative)

Developer Tools
Launch
S

serveo

Expose local servers to the internet

Developer Tools
Launch
P

Portr

Expose local http, tcp or websocket connections to the public internet

Developer Tools
Launch

Selfhosted Gateway FAQ

What is Self-hosted Gateway?

A Docker-native tool that tunnels your local containers to the public internet through a server you run yourself.

What is it an alternative to?

The README names Cloudflare Tunnels, Tailscale Funnel and ngrok as services it replaces with a self-managed setup.

Is it free?

The code is public on GitHub, and it is built from open-source components such as WireGuard, Nginx and Caddy.

What do I need?

A domain name you can point at the gateway, a Linux VPS with SSH and ports 80 and 443 open, and Docker, Git and Make on both the gateway and the client.

Does it need a static IP?

No. The README says it suits connections with a changing IP, CGNAT and double NAT, and avoids exposing your home IP.

Does it handle HTTPS?

Yes. Caddy on the client provisions certificates automatically with Let's Encrypt or ZeroSSL.

Can it expose non-web services?

Yes. Generic TCP and UDP traffic can be proxied to localhost with socat.

What are the best Selfhosted Gateway alternatives?

Popular alternatives to Selfhosted Gateway include Drip Tunnel, Wiredoor and Nginx Proxy Manager. See all Selfhosted Gateway alternatives

Developer Stuff

Badges