Home
/
Admin
/
Direct workspace connections

Direct workspace connections

Coder supports the use of WebRTC STUN, enabling point-to-point, direct connections to workspaces. Direct connections to workspaces help avoid the need to proxy traffic, reducing latency.

To connect to workspaces using WebRTC STUN:

  1. In the Coder UI, go to Manage > Admin > Infrastructure.
  2. Scroll down to Direct workspace connections, and provide the STUN URI.

If you don't have a STUN server, you can use Google's publicly accessible option. The URL for Google's STUN server is stun:stun.l.google.com:19302.

See an opportunity to improve our docs? Make an edit.