Need some help with understanding how the code server command creates a tunnel

How coder ssh works? Is it directly connecting users to workspaces or is the coder server acting like a proxy
Solution:
Coder makes use of a tailnet(tail scale networking) to connect users and their workspaces peer to peer. It uses STUN servers to find a direct route between the two ends....
Jump to solution
8 Replies
Codercord
Codercord12mo ago
<#1174946992913383454>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Solution
Atif
Atif12mo ago
Coder makes use of a tailnet(tail scale networking) to connect users and their workspaces peer to peer. It uses STUN servers to find a direct route between the two ends.
Akshitha Rajavel
Akshitha Rajavel12mo ago
Thanks !!
Atif
Atif12mo ago
But it also has an option to disable this and then all traffic would be routed through the Coder server.
Akshitha Rajavel
Akshitha Rajavel12mo ago
got it Hi !! I am having a doubt with coder login using CLI . Can I use auth tokens that are already generated using coder tokens create command , instead of being redirected to the browser every single time
Atif
Atif12mo ago
Yes you can You can pass it using coder login --token YOUR_EXISTING_TOKEN --url CODER_URL
gabry801
gabry8014mo ago
When I start Coder server on a VM deployed on Azure (location westeurope) why Coder itself starts the tunnel in Pittsburgh ? Can I change it? Jun 20 10:39:24 vmf43a736d3ef3c coder[3582]: Using tunnel in US East Pittsburgh with latency 0s. Jun 20 10:39:25 vmf43a736d3ef3c coder[3582]: View the Web UI: https://aodvm2coru4bc.pit-1.try.coder.app latency is getting worse when I use it..it's never 0
Want results from more Discord servers?
Add your server