Self-Hosted Gateway

Self-Hosted Gateway

Docker-native reverse proxy over WireGuard to expose local services

1.7kstars
81forks
Last commit: 10mo ago
Repo age: 4y old
Self-Hosted Gateway screenshot

Self-Hosted Gateway automates provisioning of Reverse Proxy-over-VPN (RPoVPN) WireGuard tunnels to expose local Docker Compose services to the public Internet. It combines Caddy, Nginx and WireGuard to provide per-link tunnels, automatic TLS and a minimal docker-compose workflow.

Key Features

  • Automates provisioning of WireGuard-based RPoVPN tunnels that forward traffic from a public gateway to local docker-compose projects. (github.com)
  • Uses Caddy on the client side and NGINX on the gateway to handle HTTPS termination, proxying and automatic TLS certificate provisioning. (github.com)
  • Docker-native workflow: generate a small "link" docker-compose snippet and run a client container that establishes the tunnel and exposes specified services. (github.com)
  • Per-link network isolation via Docker Compose private networks and dedicated WireGuard tunnels, reducing cross-service exposure. (github.com)
  • Supports passing remote client IPs to local containers via proxy protocol, basic-auth via env variables, and proxying generic TCP/UDP traffic (socat). (github.com)

Use Cases

  • Expose self-hosted web apps, dashboards or development services running in docker-compose to the public Internet without manual port forwarding. (github.com)
  • Enable remote access to services from behind CGNAT or double-NAT by terminating traffic on a public VPS gateway and routing it over WireGuard tunnels. (github.com)
  • Provide isolated, per-service tunnels for teams who want reproducible, auditable exposure of containerized services. (github.com)

Limitations and Considerations

  • Requires a publicly addressable Linux gateway (VPS) with SSH and open ports 80/443 and an open UDP port range; a domain with A records is needed for TLS. (github.com)
  • Installation and operation expect familiarity with Docker, docker-compose, Makefiles and basic Linux network/SSH administration; not a turnkey SaaS. (github.com)
  • Relies on third-party components (WireGuard, Caddy, NGINX); diagnosis may require troubleshooting across those layers. (github.com)

Self-Hosted Gateway is focused on a reproducible, self-managed pattern for exposing containerized services using reverse-proxy-over-VPN. It is intended for operators comfortable with Docker and VPS administration who want an open-source alternative to commercial tunneling services. (github.com)

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Caddy

Caddy

Extensible web server and reverse proxy with automatic HTTPS

69.2k
4.6k
Last commit: 1d ago

Caddy is a fast, extensible Go web server and reverse proxy with automatic HTTPS (ACME), HTTP/1.1, HTTP/2, and HTTP/3 support, and a JSON config API.

Alternative to:
Caddy Cloud
Caddy Cloud
+8
Traefik Proxy

Traefik Proxy

Cloud-native reverse proxy, load balancer, and ingress controller

61.1k
5.8k
Last commit: 1d ago

Traefik Proxy is a dynamic reverse proxy and load balancer that auto-discovers services from Docker, Kubernetes, and other providers, with HTTPS, routing, and observabili...

Alternative to:
Traefik Cloud
Traefik Cloud
+7
Kong Gateway

Kong Gateway

Cloud-native API and LLM gateway with extensible plugins

42.5k
5k
Last commit: 2mo ago

Kong Gateway is a high-performance, cloud-native API gateway for routing, securing, and observing API traffic, with an extensible plugin system and Kubernetes support.

Alternative to:
Amazon API Gateway
Amazon API Gateway
+7
Nginx Proxy Manager

Nginx Proxy Manager

Web UI to manage Nginx reverse proxy hosts and SSL certificates

31.1k
3.5k
Last commit: 2d ago

Nginx Proxy Manager is a web-based admin panel for managing Nginx reverse proxy hosts, redirects, streams, and Let’s Encrypt SSL certificates via Docker.

Alternative to:
NGINX Management Suite
NGINX Management Suite
+6
NGINX

NGINX

High-performance web server, reverse proxy, and load balancer

29.1k
7.7k
Last commit: 2d ago

NGINX is a high-performance HTTP server and reverse proxy with caching, load balancing, TLS termination, and TCP/UDP proxying via a modular architecture.

Alternative to:
NGINX Management Suite
NGINX Management Suite
+2
Pangolin

Pangolin

Identity-aware VPN and reverse proxy for secure remote access

18k
532
Last commit: 2d ago

Open-source identity-based remote access platform combining WireGuard VPN and tunneled reverse proxy access with granular zero-trust controls.

Alternative to:
Cloudflare Access
Cloudflare Access
+16