Reach a device’s web panel behind NAT

Time · ~5 min Level · Beginner For · routers / NAS / IoT / BMC

Routers, switches, NAS boxes, IP cameras, PLCs, printers, server BMC/IPMI — almost every device has a web admin panel, and almost none of them should be exposed to the internet. With LRO you reach that panel from your own browser, through an encrypted tunnel, while the device stays where it belongs: on its private network, invisible from outside.

The device itself usually can’t run an agent — so the Client agent runs on any machine on the same network as the device (a small server, a Raspberry Pi, a NAS), and reaches the device over the LAN. Your computer is the Support side. New here? Start with your first tunnel; unsure which side is which, see choosing the agent role.

  1. Find the device address from a machine on its network

    From the machine that will run the client agent, confirm it can reach the device’s web panel. The device’s address is whatever that machine uses — the device’s LAN IP (e.g. 192.168.1.1), or 127.0.0.1 if the panel runs on the agent machine itself.

    $ curl -sI http://192.168.1.1/ # the router admin, reachable on the LAN

    This machine runs the LRO agent in Client mode; your computer runs it in Support mode.

  2. Add the device endpoint on the client agent

    In the panel, Endpoints → Create endpoint. Pick the client agent, name it e.g. Edge Router admin, and set target to the device address as seen from the agent — the device’s LAN IP, or 127.0.0.1 when the panel is on the agent machine — and the panel’s port (80, 443, 8080…).

    Endpoints list with an Edge Router admin endpoint on the client agent pointing at 127.0.0.1:8080
    Fig 1. The device endpoint on the client agent — here the panel runs on the agent machine (127.0.0.1:8080); for a separate device use its LAN IP.
  3. Open a tunnel from your machine

    Tunnels → Add tunnel. Choose your computer as the support agent, pick the Edge Router admin endpoint, and set a listen port (e.g. 8080). Create it; it goes Active in a moment.

    Tunnels table with an active tunnel from lab-server to admin-laptop listening on 0.0.0.0:8080
    Fig 2. The active tunnel — your machine listens on 8080 and forwards to the device panel.
  4. Open the panel in your browser

    Browse to http://127.0.0.1:8080 on your computer. The device’s admin UI loads through the tunnel, fully interactive — log in, change settings, read status, exactly as if you were on its LAN:

    A device admin web panel (EdgeNode router) loaded in the browser through the LRO tunnel, showing system status and interfaces
    Fig 3. The remote device’s web panel, in your browser over the tunnel — its web port never left the private network.

    HTTPS panels work the same way — browse to https://127.0.0.1:<port> (you may need to accept the device’s self-signed certificate, just as you would on its LAN).

Notes

Manage every device on a remote site — from one browser, nothing exposed.

Create an account →