Remote Access
Nexigon Agent gives operators access to a device’s local services and to a shell. Nexigon Hub checks that a user may access the device remotely; the agent’s configuration decides which local ports can be reached at all. Access Devices Remotely shows how to connect.
Forwarding Policy
The agent forwards a connection only to a permitted TCP port on 127.0.0.1.
Two settings permit ports:
-
An HTTP export advertises a service in the web interface and permits its port:
/etc/nexigon/agent.toml [[exports]] name = "Web UI" protocol = "http" port = 80 -
The forwarding allowlist permits further ports, such as SSH:
/etc/nexigon/agent.toml [forwarding] enabled = true allowed-tcp-ports = [22]With
allow-all-ports = trueinstead of a list, the allowlist permits every port. Prefer listing the ports when they are known, so that the device exposes only the intended services.
Both permit raw TCP access, including port forwarding with Nexigon CLI. The protocol and URL path of an export do not restrict the traffic on its port, and generating a URL in Nexigon Hub does not permit another port.
Exported ports remain permitted when forwarding.enabled is false; remove an
export to stop permitting its port. Without exports and an enabled allowlist,
the agent rejects all forwarding. Ports must be integers from 1 through 65535;
the allowlist accepts neither wildcards nor ranges.
Browser Terminal
The browser terminal opens a shell on the device from its page in Nexigon, independently of SSH and of the forwarding policy:
[terminal]
enabled = true
user = "root"user sets the account that runs the shell, root by default. Enable the
terminal only on devices where remote shell access is intended.
[terminal] lists further
settings, such as the shell and additional permitted users.
Forwarding Capacity
The agent carries each forwarded connection, terminal session, and command over a channel of its connection to Nexigon Hub. By default, it opens at most 512 channels and advertises 480 of them for forwarding, which leaves 32 for commands, terminals, and its own requests. Nexigon Hub 2026.3.2 and later use the advertised capacity: they open channels for HTTP proxy requests immediately up to that capacity and their own limit, and queue further requests. Older versions of Nexigon Hub ignore it.
Keep the defaults unless a device has tighter limits for file descriptors or
concurrent connections to its local services.
[multiplex] lists the
settings. The service must allow enough open files for the configured
capacity; the systemd unit of the installation script allows 8192.