Router setup
Set up by hand, in four commands
The app normally does all of this for you. This page is for people who'd rather see every step.
Easier: let the app do it
Open HomeLAN on your home Wi-Fi and tap “Set up my router”.
- 1
Sign in to the router
From a computer on your home Wi-Fi. GL.iNet routers use 192.168.8.1; plain OpenWrt uses 192.168.1.1. The password is the router's admin password.
- 2
Download the HomeLAN agent
One small shell script. Read it first if you like; it's plain text.
wget -O /usr/bin/homelan https://homelan.greenon.online/install/homelan && chmod +x /usr/bin/homelan - 3
Set it up
Installs WireGuard, opens the tunnel port and, only if your connection is behind CGNAT, signs up with the relay. Safe to run again.
homelan setup --relay https://homelanapi.earthwise.cloud - 4
Pair a device
Prints a QR code. In the app, tap “Scan a QR code instead” and point the camera at it. Use a different name for each device.
homelan add myphone
Everyday commands
- homelan list
- Paired devices and when each was last seen
- homelan status
- Tunnel, addresses, CGNAT check and relay
- homelan remove myphone
- Unpair a device (frees its relay slot)
- homelan qr myphone
- Show a device's QR code again
Stuck?
homelan status says what's wrong in plain words: no internet on the router, CGNAT without the relay, or the tunnel being down. Every command is safe to run again.