Bring your radio online
Setup guide · HamRig Gateway 3
Your radio, anywhere.
A small program on the computer next to your radio - the HamRig Gateway - talks to the rig, links it to your account and keeps it online. You set it up in your web browser. After that you operate the radio from anywhere: waterfall, audio, TX, logging, FT8. No port forwarding, no router settings.
The whole setup in under a minute
What you need
The IC-7850/51 has a network port, but HamRig has not tested it over the network yet.
1 Prepare the radio 2 minutes, once
The gateway talks to the radio over CI-V (Icom's control protocol) and takes its audio from the radio's built-in USB sound card. A few menu settings make sure both are available. Menu names below are from the IC-7300 and IC-7610; the other models use the same names.
On the radio: MENU › SET › Connectors
| Setting | Set to | Why |
|---|---|---|
| CI-V › CI-V Baud Rate | Auto (or 115200 baud) | the search asks at 115200, 19200 and 9600 baud |
| CI-V › CI-V Transceive | ON | the radio reports every knob turn at once |
| CI-V › CI-V USB Port | Unlink from [REMOTE] | USB gets its own CI-V address |
| MOD Input › DATA OFF MOD | USB (or MIC,USB) | transmit audio from the gateway in SSB, AM and FM |
| MOD Input › DATA MOD | USB | transmit audio in the data modes (FT8, RTTY …) |
On the radio: MENU › SET › Network
| Setting | Set to | Why |
|---|---|---|
| DHCP (or a fixed IP) | ON / your LAN | the radio needs an address on your network - note it |
| Network Control | ON | allows remote operation over the LAN |
| Network User1 ID / Password | a name and a password | you enter both in the gateway once |
| Control / Serial / Audio Port | leave 50001 / 50002 / 50003 | the defaults the gateway expects |
The IC-705 joins your Wi-Fi instead (WLAN Set); the rest is the same.
2 Install and start the gateway 3 minutes
- Open Downloads on the computer next to the radio and download HamRig Gateway 3 for your system. The page picks your system; Raspberry Pi has its own tab.
- Unpack the ZIP into a folder of its own. It holds two programs, hamrig-gateway3 and hamrig-engine - they must stay together in that folder.
- Start hamrig-gateway3 (how, see below). A console window says that the gateway is running and shows its address.
- On Windows the browser opens by itself. Otherwise open http://localhost:8770 in a browser on this computer. Here you are signed in automatically - the gateway's Dashboard appears.

Windows
Double-click hamrig-gateway3.exe. If Windows shows Windows protected your PC, click More info and Run anyway. When the firewall asks, allow access for private networks.
Linux and Raspberry Pi
In a terminal, in the folder: make both programs executable once, then start the gateway.
chmod +x hamrig-gateway3 hamrig-engine
./hamrig-gateway3
3 Pair it with your account 1 minute
Pairing links the gateway with your HamRig account. You confirm a short code on hamrig.com - your password is never typed into the gateway, and the gateway only gets its own device key, which you can take back at any time.
- In the gateway, open Pairing and click Show pairing code. A six-character code and a QR code appear; the code is valid for 10 minutes.
- Click the link next to Confirm at - or scan the QR code with your phone. HamRig's Pair a gateway page opens; sign in if it asks.
- Check that the gateway name and Requested from are yours, type the code and click Confirm.
- A few seconds later the gateway's top bar shows Paired · your callsign, and HamRig lists it under Your gateways - online.
- From then on Shack → Gateways shows every gateway you own or manage: online or not, its version and updates, the radios and accessories it serves, its sysops - and pairing the next one starts there too.



4 Add the radio 2 minutes
In the gateway: Devices → Add device → Radio. The wizard finds the radio, picks its sound card, creates the radio in your account and starts it - five short steps.
- Connection: USB cable is preselected. Radio on and plugged in? Click Search for radios. The gateway asks every free port which radio is there - it only reads and never changes a setting. It shows what it found, for example IC-7300 on COM4 (on Linux: ttyUSB0). Click it, then Next.
- Audio: the radio's sound card is usually Found automatically - sound from the radio and sound to the radio. If not, pick USB Audio CODEC for both. Next.
- HamRig: Create a new radio in HamRig with a name and your location. Is the radio already in your account (a new PC, or coming from Gateway 2.x)? Then choose Take over - name, shares, bookings and history stay. Next.
- Modes: FT8 and FT4, RTTY, SSTV pictures, digital SSTV (DRM) and reporting to PSK Reporter are on - switch off what you do not want. Next.
- Summary: check it and click Add and start. The gateway shows the radio coming online: radio software started, CI-V port open, radio answers, connected to HamRig.




- Connection: choose Network (LAN / Wi-Fi). Enter the radio's IP address, and the user name and password from the radio's network menu (Network User1 - not your HamRig login). Pick the model.
- The audio comes through the network - the wizard skips the sound step.
- HamRig, Modes, Summary and Add and start - as with USB.

When is it online?

5 On the air now
- Open Radios here in the portal. Your radio's card shows Available, with the frequency and mode from the radio.
- Click Control. The operating client opens: waterfall, audio (click once to allow sound), VFO, bands, PTT.
- The phone icon next to Control shows a QR code - scan it and the radio is on your phone.

Run it 24/7
Started as a normal program, the gateway stops when its window closes or you log out. For a station that is always there, install it as a service: it starts with the computer, runs without anyone logged in, and you still control it in the browser.
Windows
In the gateway: System → Run as a service → Install as Windows service. Windows asks once for administrator rights. The service takes over the devices and the pairing.
Linux and Raspberry Pi
In the folder of the gateway:
sudo ./hamrig-gateway3 service install
This creates the user hamrig, installs the programs to /opt/hamrig-gateway3 and the data to /var/lib/hamrig-gateway3, sets up the systemd service hamrig-gateway3 and the rules for the radio's ports - and offers to copy what you set up before.

Run it with Docker Linux and Raspberry Pi
For a Raspberry Pi, a mini PC or a home server with Docker: the gateway as a container. One script sets it up, the container starts again with the computer by itself, and an update is a single command. Inside runs the same official release as in the download - pairing and adding the radio follow the steps above.
- Download the helper script and read it before you run it - it is plain text:
curl -fsSLO https://hamrig.com/assets/gateway-docker/hamrig-gateway-docker.sh less hamrig-gateway-docker.sh - Run it in the same folder. It checks the computer, shows what it will do and asks once:
sh hamrig-gateway-docker.sh install - After a few minutes it shows the addresses. On this computer open http://localhost:8770 - you are signed in automatically. From another computer in your network open https://<address>:8771 and accept the certificate once.
- Pair the gateway with the code (step 3) and add the radio (step 4) - as with any other installation.
Everyday commands
sh hamrig-gateway-docker.sh status
sh hamrig-gateway-docker.sh logs
sh hamrig-gateway-docker.sh update
sh hamrig-gateway-docker.sh stop
sh hamrig-gateway-docker.sh start
sh hamrig-gateway-docker.sh backup
status shows whether the gateway runs, its version and its addresses. logs follows its log (Ctrl+C ends it). update builds the newest release and restarts the gateway - in the container it does not update itself, System only says when a new version is out. stop sets the radios to receive first. backup saves the gateway's ID, pairing and devices.
What you need
A 64-bit Linux on x86-64 or ARM - a Raspberry Pi 3, 4 or 5 with Raspberry Pi OS (64-bit), Debian, Ubuntu or similar - with Docker 23 or newer and its compose and buildx plugins. No Docker yet? The script tells you how to install it. The radio by USB on this computer, or on your network. Not for Windows or macOS: Docker Desktop cannot pass USB devices into a container.
What the script does
It creates the folder ~/hamrig-gateway, builds the image from the official release (its SHA-256 checked against hamrig.com) and starts the container on the computer's own network. The container gets no privileges and may only open serial ports, sound cards and USB relay boards. The gateway's ID, pairing and devices live in a Docker volume that survives every update. Apart from that folder and the container, nothing on the computer changes.
Coming from Gateway 2.x
- Close Gateway 2.x and switch off its autostart. Two gateways must never drive the same radio.
- Install and pair Gateway 3 - steps 2 and 3. The 2.x login is no longer needed: pairing replaces it, and the gateway never keeps your password.
- Add the radio (step 4) and choose Take over in the HamRig step. The radio keeps its name, location, shares, bookings and history - nothing changes for the people you share it with.
If something does not work
The search says “No radio answered.”
- Is the radio switched on, and is the cable in the radio's USB socket (not the ACC or CI-V jack)?
- Windows: does Device Manager show a new COM port when you plug in? If not, install the USB driver (step 1).
- Another program holds the port: close WSJT-X, flrig, logging software with CAT, or Gateway 2.x.
- Check CI-V USB Port = Unlink from [REMOTE] and CI-V Baud Rate = Auto (step 1), then Search again. Still nothing? Pick the port and the model yourself.
“Radio does not answer” after Add and start
- The port opened, but the radio is silent: is it switched on?
- The menu settings from step 1, especially CI-V USB Port and CI-V Baud Rate.
- The CI-V address in the radio's menu must match the gateway's: device → Settings → CI-V address.
“Port 8770 is already in use” at the start
Pairing does not work
- The pairing code expired: show a new one - a code lives 10 minutes.
- The portal is not reachable: pairing needs the internet. Check the gateway's Network page.
- Paired to another HamRig account: revoke it there (Your gateways) - or give this gateway a new identity: Unpair it, stop it (and its service, if it runs as one), then run hamrig-gateway3 reset-id (Windows: hamrig-gateway3.exe reset-id).
Online in the gateway, but Offline in the portal
- Is the gateway paired? The top bar shows Paired.
- The gateway's Network page checks router, internet, the HamRig portal and the HamRig servers. No HamRig proxy answers means outgoing TCP port 9876 is blocked - company, hotel and some school networks do that.
- Leave HamRig server on Automatic: the gateway picks the nearest server that answers.
No sound, or nothing is transmitted
- The sound devices must be the radio's USB Audio CODEC (device → Settings).
- DATA OFF MOD and DATA MOD on USB (step 1).
- In the browser, click the audio button once: browsers only play sound after a click.
- Transmitting also needs TX permission and the control seat - on your own radio you have both.
Network radio: nothing answers, or the login fails
- Wrong address: check the radio's IP in its Network menu.
- Network Control must be ON on the radio.
- User name and password are the radio's Network User1 - not your HamRig login.
- Right after another remote program the radio can need two to three minutes before it accepts the next login.
