Targets: name your machines
A target is a named machine with labelled ports. Instead of typing 192.168.1.20:5000 in every route, you create a target nas with port web โ 5000, and routes forward to "nas ยท web". If the machine's address changes, you change it once on the Targets page and every route follows.

Adding a target
Go to Targets โ Add a target.
- Give the machine a name (e.g.
nas,web-server,api). - Enter its address (IP address or host name).
- Add one or more ports: a label (e.g.
web,admin,api), a port number, and whether it uses HTTP or HTTPS.
In a route's backend field, type nas/web or pick it under Add a target.
Devices with a changing address (DHCP)
If a device gets its address from DHCP and may change, give the target its MAC address instead of (or as well as) an IP address.
The gateway then looks up the device's current address in the system's ARP table every minute. When the address changes, routes follow it at once โ without a new configuration version. The Targets page shows the address in use and when it was last seen.
Don't know the MAC address? Type the device's current IP address and click Look up MAC address.
Limitations: the device must be on the gateway's own network segment (layer 2). Devices on a guest network with client isolation, or behind a router or VPN, cannot be found this way. A DHCP reservation in your router is often simpler.
Example: a Synology NAS with two services
| Label | Port | Scheme |
|---|---|---|
| web | 5000 | http |
| admin | 5001 | https |
Routes for files.example.com forward to nas/web; routes for nas-admin.example.com forward to nas/admin. When the NAS gets a new address, change it once on the Targets page.