Providing Teleport Desktop access to multiple Windows domains with multiple agents #12180
Replies: 4 comments 7 replies
-
|
This same approach can also be used for other Teleport protocols like |
Beta Was this translation helpful? Give feedback.
-
|
Hi, Thanks |
Beta Was this translation helpful? Give feedback.
-
|
I'm looking to make this much easier in Teleport 18: #53067 |
Beta Was this translation helpful? Give feedback.
-
|
Hi, However, since we created one or more teleport-agent-xxxxx.service to handle the multiple domains, those service are not reloaded. Run a Side-note : |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Edit 2026-03-13: Updated to use
teleport-update enable --install-suffix ...instead of the previous manual unit file method.For Windows desktops, Teleport currently has a one agent -> one domain model. If you have multiple Windows domains that you'd like to use with Teleport Desktop access, you will need to run multiple Teleport agents to provide access to each of these domains.
To avoid excess cost, it's possible to run multiple Teleport agents on one VM or physical server. In this example, we'll be provisioning access to two domains:
example.com(EXAMPLEin NetBIOS terms)test.com(TESTin NetBIOS terms)Teleport config files
Each agent needs its own config file. When you run
teleport-update enablewith--install-suffix, it automatically uses a config file named after the suffix — so you don't need to manually manage separate data directories or write your own systemd unit files.example.comConfig file:
/etc/teleport_example.yaml(note: this must match the format/etc/teleport_<suffix>.yaml)test.comConfig file:
/etc/teleport_test.yaml(note: this must match the format/etc/teleport_<suffix>.yaml)Installing and enabling the agents
Use
teleport-updatewith--install-suffixto set up each agent as an isolated installation. Each suffix gets its own binaries, data directory (/var/lib/teleport_<suffix>), and systemd service — no manual unit file authoring required.example.comtest.comManaging the agents
Check the status of each agent:
Check logs:
Check the updater status for a specific installation:
Each installation is fully independent — updating or restarting one agent has no effect on the other. Managed updates will keep each agent on the cluster-advertised version automatically.
You can run as many agents as needed by following this model — adding a config file and running
teleport-update enablewith a new suffix for each domain.Beta Was this translation helpful? Give feedback.
All reactions