Repository navigation
NeoDesk 3.6.0 is the first stable release of NeoDesk, a self-hosted remote support server. One binary runs the ID server and relay that RustDesk clients connect to, the API and the web console, where you manage computers, users and policies, chat with the people at the computers and answer their tickets, and open remote sessions in the browser. It runs on Linux, Windows, Docker and now Kubernetes, on SQLite or PostgreSQL. Since rc.7 it has sites with their own relay nodes, which keep the sessions of an office on its own network and serve sites without internet access, and the console can run as several instances behind one address. It goes with the NeoDesk client 1.5.0 and the NeoDesk Support Agent support-v0.0.12, see Clients.
Updating from 3.6.0-rc.7
Update as usual: sudo neodesk-setup --update on Linux, sudo bash /opt/neodesk/docker/neodesk-docker.sh update with Docker, powershell -NoProfile -ExecutionPolicy Bypass -File "C:\NeoDesk\neodesk.ps1" -Update on Windows, or Server › Updates in the console. Then check these points.
Coming from an older release candidate, read the updating notes of each candidate after yours first: rc.7, rc.6, rc.5, rc.4 and rc.3. rc.2 was the first published candidate.
Server files and secrets are for super admins
Accounts with Change server settings that aren't super admins could read the server's keys and secrets in the console. They no longer can:
- Server status › Files opens files for super admins only. Other accounts still see the folder listing, without content.
- Server › Configuration files opens and saves the console's .env and .env.local, the session secret file and the build settings file for super admins only. The other files there stay as they were.
- The build settings file (/etc/neodesk/build.env) no longer takes changes to
NEODESK_CLIENT_BUILD_COMMAND,NEODESK_CUSTOM_CLIENT_SIGNING_SEEDandNEODESK_GITHUB_TOKENfrom the console, also not from a super admin. Change them on the host.
Refusals show in the activity log. Give an account the Super admin role if it needs these files.
The console's port behind a proxy: set TRUSTED_PROXIES
A NeoDesk app installed with the console's address as its API server (API=https://<host>) now enrolls, gets its access policy and its branding through the console's port. Those calls count the caller's address the way the server does: a forwarded address counts only from a proxy in TRUSTED_PROXIES with TRUST_PROXY on. Behind a reverse proxy, put the proxy's address in TRUSTED_PROXIES. Without it, every computer counts as the proxy's one address, and the limits per address on registration and pairing apply to all of them together.
Port 21123 for relay nodes
Relay nodes connect to the central server on TCP port 21123. Docker installs publish it with the update. Linux and Windows updates don't open it in the firewall; new installs do. If you add relay nodes, open it by hand, for example with sudo ufw allow 21123/tcp. NODE_CONTROL_PORT=0 turns relay nodes off.
What's new since rc.7
Sites and relay nodes
A site is an office, a branch or any other place with its own network. Devices › Sites sets up sites, their networks and their relay nodes. A relay node is the same server binary in node mode: it has no database and no console, keeps one connection to the central server and relays the sessions the central server sends it. Sites and relay nodes has the details.
- Sessions at a site that can't connect directly go through the site's relay node instead of the central relay, so their traffic stays on the site's network. A device's site comes from its pin, its folder's pin, or its address in one of the site's networks.
- Sessions between two sites of one organization run over both sites' nodes, which connect to each other on port 21125, over a site-to-site VPN or the internet. The central server checks which direction works and falls back to one node or to the central relay, so a session never fails only because a node is down.
- Sites without internet access reach the central server through their relay node: with
--forward, the node forwards the signal, API and NAT test traffic of the site's computers, and relays their sessions. The computers use the node's LAN address as their ID server, with no change to the client. - Adding a node: Add relay node on a site shows the command for Linux (
--node --join), Docker and Windows (-Node -Join) with a one-time enrollment string. The Sites page shows each node's state, addresses, sessions and traffic, which sites' nodes reach each other, and how many computers a node forwards. Revoke a node there; to remove it, uninstall it on its machine. - The device panel shows a device's site and where it comes from, and the relay that carried each session: direct, the central relay or the node's name. The device list has a Site column once there are sites.
- Nodes follow the organization's Allowed relay servers, which still win over a node. Joins, refusals and revocations of nodes show in the activity log.
Several instances and Kubernetes
The whole server, console included, runs as several instances on one PostgreSQL database with Valkey or Redis (VALKEY_URL). Live events reach every instance, device terminals, files and chat run on the instance the device is connected to, sign-ins work when their requests alternate between instances, and the start steps (key pair, secrets, first account) run once when instances start together. A stopping instance hands its devices and sessions over to the others.
The repository has a Helm chart in deploy/helm/neodesk and plain manifests in deploy/kubernetes, for one replica or several. In a cluster the console doesn't install updates or restart itself and says to use helm upgrade or kubectl rollout restart. Install on Kubernetes has the details. With one server and no VALKEY_URL nothing changes.
Support links
- The page of a support link offers Open in NeoDesk Quick Support first when NeoDesk is installed on the computer, with Download again next to it. This needs the client 1.5.0, and works in Chrome, Edge and Firefox; Safari shows the page as before.
- Once Quick Support has the link, the page drops the download and the steps and says what to do next, until the session ends.
- The support and invite pages carry the NeoDesk logo and use more of the screen.
Security fixes
- Accounts with Change server settings could read the server's keys in Files and the env files and session secret in Configuration files, and set the client build command in the build settings file. See Server files and secrets.
- Help requests showed to every account: an operator limited to some devices listed, accepted and resolved the help requests of all devices, and the bell showed them to roles without Answer support chat. They now show only to accounts that see the device and may answer the support chat.
- A relay request over TCP ignored the organization's Allowed relay servers and handed out the server's own relay.
Fixes
- A computer admitted with a device token, a rollout token or after quick support on a Managed or Locked server is reachable at once. Before, it stayed under Join requests and every session to it was refused until someone approved it. A token used under the ID of another computer that waits in Join requests is refused.
- The connection records that clients send after a session are stored. Before, the server refused every one.
- The connection sessions table stays inside the device panel, and a billing session names its device.
- A chat conversation's head opens its linked ticket.
- Console texts corrected in the docs pass, and CDAP is called the Connected Device Access Protocol everywhere.
Known issues
- A computer with a client older than 1.5.0-rc.8 has no chat outside a remote session. It shows "Not reachable now" in Support, and the server keeps your messages.
- The overview's Client setup widget and the manual setup of Add a computer still offer Download RustDesk.
- The Docker manager's update checks the compose file and its own new copy against the release's SHA256SUMS, but doesn't check that list's signature (SHA256SUMS.sig), as neodesk.sh does.
- The receiver app's texts are in English in the 24 languages other than English and German.
- USB and drive access can't save yet, as the banner on its page says.
- The console offers the NeoDesk agent's files only to super admins, also when another role holds that permission.
- Revoking an API token leaves the accounts it made. Enrollment tokens of agent templates can't be revoked at all.
neodesk mcpwith an MCP client that can't ask you (no elicitation) still makes the agent confirm first and leaves asking you to the agent, so give an agent a token with only the permissions it needs.neodesk billing clock-setresets every setting you leave out, andneodesk billing mail-settings-setturns on every switch you leave out.- On SQLite, a backup archive holds the database file twice.
- Clients that use the console's address as their API server are signed out after the session duration even while they are in use: Extend session on activity and Maximum session lifetime don't apply to them.
- The relay assignment rules under Scaling are saved but not used.
- The file transfer and alarm records that clients send are refused, as the connection records were.
- A slow single sign-on provider ends in "OIDC authentication failed" or a bare page that says "OIDC callback proxy failed".
Clients
This release goes with the NeoDesk client 1.5.0 and the NeoDesk Support Agent support-v0.0.12, which come out with it. Together they have everything in this release: the chat, saved sign-in, the receiver app with its tickets and silent MSI install, the offer after quick support and Open in NeoDesk Quick Support on the support link page. Import the Support Agent release on Devices › Add computers › Support agents before you use the Receiver app tab.
Stock RustDesk clients connect as before, also without an API server setting. They send no usage data and have no chat outside a session.
Install
With Docker, the first line installs the newest release, now this one. The second also serves the console over HTTPS at your domain, which has to point at the server, with ports 80 and 443 open:
curl -fsSL https://neode.sk/install.sh | sudo bash
curl -fsSL https://neode.sk/install.sh | sudo bash -s -- --domain <domain>Without Docker, on Linux:
curl -fsSL https://neode.sk/neodesk.sh | sudo bashThe image is ghcr.io/neodeskapp/neodesk:3.6.0. The Linux, Windows and Kubernetes pages have the details. A new install's console answers on port 3375, and on 5443 with HTTPS.
All changes since v3.6.0-rc.7
- chore: release 3.6.0 (fcdb21b)
- chore: bump version to 3.6.29 [version-bump] (7bf1fda)
- test: wait for the forwarded stream instead of racing the hand-off (#143) (d4dff63)
- chore: bump version to 3.6.28 [version-bump] (67e5d60)
- fix: correct console texts found in the docs pass (#144) (32188cd)
- chore: bump version to 3.6.27 [version-bump] (86607de)
- fix: store the connection records clients post with id instead of host_id (#139) (7007a7d)
- chore: bump version to 3.6.26 [version-bump] (d010f0a)
- fix: keep the build command, signing seed and token out of the build settings editor (#142) (ae39e08)
- fix: keep the env files and session secret out of Configuration files for server admins (#140) (cfaddb5)
- fix: keep the server's keys out of the Files tab for server admins (#136) (0816871)
- chore: bump version to 3.6.25 [version-bump] (4313b77)
- fix: open a forwarding node's UDP channel only once central has the node online, without a refusal at every start (#138) (4326c6d)
- chore: bump version to 3.6.24 [version-bump] (cf4d59c)
- fix: stop logging a failed relay read for every port check, such as the relay node container's health check (#137) (3548342)
- fix: check a broken site-to-site direction at once so the next session takes another path (#134) (478597c)
- chore: bump version to 3.6.23 [version-bump] (35f4afa)
- fix: tell the admin to revoke a removed relay node in the console, which has no remove (#135) (f6d4690)
- chore: bump version to 3.6.22 [version-bump] (84434bc)
- test: let the sites e2e peer keep its key between runs (#133) (e7aab90)
- chore: bump version to 3.6.21 [version-bump] (159eb66)
- fix: show help requests only to accounts that see the device and may answer the support chat [L603] (#131) (484514f)
- chore: bump version to 3.6.20 [version-bump] (4cf0892)
- fix: keep the comma after a comment's time next to it in an internal note (#132) (3b39ca1)
- chore: bump version to 3.6.19 [version-bump] (bf02f4a)
- fix: open the linked ticket from a chat conversation's head (#130) (e549c11)
- chore: bump version to 3.6.18 [version-bump] (dcfe01c)
- fix: name the device in a billing session instead of showing only its ID (#129) (1064f21)
- chore: bump version to 3.6.17 [version-bump] (400f72a)
- fix: keep the connection sessions table inside the device panel when sessions name their relay (#128) (7998aac)
- chore: bump version to 3.6.16 [version-bump] (309b051)
- fix: make a computer admitted by token reachable at once and refuse a token under another waiting computer's ID (#123) (bfeb013)
- fix: let the receiver enroll, get its access policy and branding when its API address is the console (#122) (95045ea)
- chore: bump version to 3.6.15 [version-bump] (15e654a)
- fix: apply the organization's allowed relay servers to relay requests over TCP (#127) (4162c70)
- chore: bump version to 3.6.14 [version-bump] (c24e94c)
- fix: record relay node joins, refusals and revocations in the server events (#126) (2c823df)
- chore: bump version to 3.6.13 [version-bump] (c74797c)
- fix: offer only the device's organization's sites when pinning it to a site (#125) (1f3da88)
- chore: bump version to 3.6.12 [version-bump] (a5d3ea8)
- feat: open the support link in NeoDesk first when it is installed, and follow the session on the page (#118) (fbb6796)
- chore: bump version to 3.6.11 [version-bump] (bc41fd2)
- fix: call CDAP the Connected Device Access Protocol everywhere (#121) (846ad7e)
- chore: bump version to 3.6.10 [version-bump] (c5708df)
- feat: serve sites without internet access through their relay node (#114) (47dbc89)
- chore: bump version to 3.6.9 [version-bump] (11d7692)
- fix: let a stopping pod hand its peers and sessions over cleanly (#119) (3d9cad8)
- chore: bump version to 3.6.8 [version-bump] (3c039a2)
- feat: add a Helm chart and Kubernetes manifests (#111) (2835781)
- chore: bump version to 3.6.7 [version-bump] (a9fdd3e)
- feat: relay sessions between two sites over both sites' relay nodes (#113) (9059ca4)
- chore: bump version to 3.6.6 [version-bump] (239ea89)
- test: open a CDAP terminal on one pod for a device on another over the real cluster link (#115) (338f36d)
- chore: bump version to 3.6.5 [version-bump] (0e1e09c)
- feat: brand the support and invite pages with the NeoDesk logo and a wider layout (#117) (a426da2)
- chore: bump version to 3.6.4 [version-bump] (01dc9c7)
- feat: add a Sites page to set up sites and their relay nodes (#100) (3496ffe)
- feat: route sessions at a site through the site's relay node (#99) (d7f387e)
- chore: bump version to 3.6.3 [version-bump] (d71b0c8)
- fix: make files and secrets safe for several instances (#110) (bf8fd60)
- chore: bump version to 3.6.2 [version-bump] (9ba093d)
- docs: link the client 1.5.0-rc.10 and the support agent in the 3.6.0-rc.7 notes now that they are out (#109) (74a8e31)
- chore: bump version to 3.6.1 [version-bump] (f9109e6)
- feat: run the console across several instances (#105) (992099c)
Full Changelog: v3.6.0-rc.7...v3.6.0
