# CloudGate

CloudGate is a self-hosted web interface that exposes homelab services to the internet using Cloudflare Tunnels and playit.gg tunnels. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/2719/cloudgate

## Description

CloudGate is a self-hosted web interface that exposes homelab services to the internet using Cloudflare Tunnels and playit.gg tunnels. It helps users without a public IPv4 address, open ports, or reliable port forwarding reach services such as Immich, Nextcloud, Jellyfin, Proxmox, and Home Assistant. CloudGate creates and maintains tunnels, DNS records, and routing rules, with optional local reverse proxy, Let's Encrypt certificates, two-factor authentication, audit logging, and API keys. It is not affiliated with Cloudflare or playit.gg.

## Platform availability

Available on 2 of 10 platforms: Unraid, TrueNAS.

## Health score

69/100 (Good), based on 4 of 5 factors.
- Maintained: 95 (last commit 23 days ago)
- Popular: 25 (16 GitHub stars)
- Easy to install: 45 (2 install platforms, install notes, Docker image)
- Security check: 94 (no serious findings, 1 minor, CI, tests)

## Links

- GitHub: https://github.com/Elias02345/CloudGate
- Unraid: https://ca.unraid.net/apps/cloudgate-0wejvzw171498w?q=CloudGate

## Common questions

### Do I need to publish ports 80 and 443 to use CloudGate?

Only if you enable the local nginx reverse proxy mode. The admin UI/API is also available on port 8080, and app-store installs publish their own port.

### Will running the installer again or self-updating delete my data?

No, the installer is re-runnable and will not wipe your data. Standalone self-updates also never overwrite your data.

### How do I expose a non-HTTP service such as SSH or a game server?

Use a playit.gg tunnel for raw TCP/UDP services. CloudGate manages those tunnels from the same web interface.

### Can I choose between Cloudflare Tunnel and a local reverse proxy for individual services?

Yes, hybrid mode lets you select either Cloudflare Tunnel or the local nginx reverse proxy for each host.

### How is the first admin account created?

Open the admin UI on first start and create your own admin account. That setup page only works once.

---
Source: Our Local Host (https://ourlocalhost.com/app/2719/cloudgate), the self-hosted and open-source app directory.
