Remote access

Network → Remote access lists the devices that have SSH (22), Telnet (23), RDP (3389) or VNC (5900–5909) open, and opens sessions on the right, in tabs. A device page has an RDP or VNC button when those ports are open.

  • SSH and Telnet are the web terminal described above, nothing extra is needed.
  • RDP and VNC need a small helper container, guacd from the Apache Guacamole project, which translates the remote desktop protocols for the browser. The page itself shows the three steps (add the service, let Netlens find it, check) with the lines to copy. In short, add this service to the compose file you run Netlens from and run docker compose up -d:

yaml guacd: image: guacamole/guacd:1.5.5 container_name: netlens-guacd restart: unless-stopped ports: - "127.0.0.1:4822:4822"

Netlens runs on the host network in the supplied compose files, so it reaches the helper at 127.0.0.1:4822, which is the default. Set NETLENS_GUACD=host:port if it lives elsewhere (for a Netlens container that is on a normal Docker network, give the helper no published port and use NETLENS_GUACD=guacd:4822), or NETLENS_GUACD=off to switch it off. Without the helper the page still lists SSH and Telnet and explains what is missing; the same lines are in docker-compose.yml as an optional block. – Who and where: administrators only, from a direct connection on the local network, the same rule as the terminal (NETLENS_TERMINAL, NETLENS_TERMINAL_REMOTE; switched off in the demo). Only inventoried devices with a private address and that port seen open can be reached, and at most 5 sessions (terminal and remote desktop together) run at once; an idle session ends after 15 minutes. – Passwords are typed for each session and sent once. With Remember this login they are stored encrypted with the Netlens key (see Stored passwords) and can be forgotten again on the same form; the browser never gets a saved password back. – Good to know: the helper has no login of its own, so never publish its port to your network or the internet. RDP certificates are accepted without checking (Windows machines use self-signed ones); network level authentication works. Clipboard text goes both ways; drives, printers and sound are not redirected. The remote screen follows the size of the browser window (RDP) and Fit scales it.

Remote desktop on a touch screen

An RDP or VNC session on a touch screen (an iPad, for example) has a Keyboard button. It brings up the system keyboard and sends what you type to the remote machine. A row of keys the iPad keyboard lacks appears with it: Esc, Tab, Ctrl, Alt, Shift and Win (each for the next key), the arrow keys and Delete. Tapping the screen keeps the keyboard open instead of bringing it up again.