Routers on private addresses (CGNAT and WireGuard)
Why Metron cannot reach a router with an address like 10.x or 192.168.x, what the router relay is, and how to get one set up.
Metron runs in the cloud. To manage a router it opens a connection to the router's API. That only works if the router is reachable from the internet.
Which routers are affected#
Routers behind CGNAT, or reached over a WireGuard tunnel, usually have a private address:
10.x.x.x172.16.x.xto172.31.x.x192.168.x.x100.64.x.xto100.127.x.x
Routers with a public address are not affected. The recommended setup is a public address with API-SSL on port 8729.
What the relay is#
A router relay is a small program on a server where your tunnels terminate. Metron talks to the relay; the relay talks to the router. It only connects to private addresses on the router API ports (8728 and 8729).
How it is protected:
- Metron only trusts the relay with a specific certificate.
- The relay accepts only requests signed with a shared secret. Each signed request is valid once, for 90 seconds.
- You can restrict the relay to your tunnel network so it can reach nothing else.
What you need to do#
- Tell us the router has a private address, and which tunnel or VPN it uses.
- We help you set up the relay on a small server where your tunnels end.
- Once connected, the router appears online under NetworkMikroTik Routers and Test succeeds.
Operators who self-host can find the relay setup steps in Self-host environment.