Coder.comC
Coder.com7mo ago
10 replies
Scott Windsor

Using Coder over Tailscale VPN

I'm troubleshooting a bit of an issue with out setup and am not sure what to do next. We use tailscale for our VPN and use our exit nodes as an allow list for a number of internal tools we host. As we're setting up coder, we'd like to ensure that we can use coder while connected via Tailscale.

When we are connected (and only when using an exit node), we end up having connection problems. For direct ssh, we see tunnels disconnected, and we see similar disconnect issues using VS Code's server & Zed's ssh tunneling. Is there additional configuration needed to get this to work?
Solution
Hey, this is a known issue, unfortunately. Also seen here: https://github.com/coder/coder/issues/15523
Disabling direct connections (and connecting over a DERP relay instead) within Coder (not Tailscale) will workaround the issue.
Was this page helpful?