selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

gateway-go logo

Self-host gateway-go

v2.0.12

LAN gateway for OpenIoTHub remote access via QR code pairing

ReleaseOpen SourceMIT
Updated7 months ago
LanguageGo
Setup difficultyEasy
Stars
163
Ports
5353 (mDNS (UDP)), 34323 (gateway service)
Docker
openiothub/gateway-go
Install with Docker

What is gateway-go?

gateway-go is the on-premises component of the OpenIoTHub ecosystem. It runs continuously on a local network (via Docker, binary packages, Homebrew, Snap, Scoop, deb/rpm, or OpenWrt opkg) and displays a QR code. The OpenIoTHub mobile/desktop client scans this code to register the gateway, after which users can remotely access any LAN service or port through P2P or relayed tunnels. The gateway supports mDNS (port 5353/udp) and a custom port (34323), uses a simple YAML config, and builds for Linux, Windows, macOS, Android, and many architectures. It is a companion to the OpenIoTHub client and the server-go relay; no separate database or external dependencies are required.

Should you self-host gateway-go?

gateway-go scores 47/100 on selfhost.directory (how scoring works) and ranks #38 of 56 in VPN. It has 163 GitHub stars.

It shipped 1 stable release in the past year. The latest, v2.0.12, came out on 11 January 2026.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is Tailscale (84/100, 38 215 stars). It scores higher overall, so compare the two before you pick. See gateway-go vs Tailscale side by side.

Features

  • CasaOS/ZimaOS app store
  • Cross-platform builds
  • mDNS discovery
  • Mobile library bindingsBuild artifacts, not a runtime feature of the gateway itself
  • NAT Traversal
  • OpenWrt package
  • Port Forwarding
  • QR code pairing

gateway-go README

How to install gateway-go

Install gateway-go with Docker

docker run -it --net=host openiothub/gateway-go:latest

Uses host networking; shows QR code in console

gateway-go releases & version history

More in VPN

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…