tailscale / tailscale

The easiest, most secure way to use WireGuard and 2FA.
https://tailscale.com
BSD 3-Clause "New" or "Revised" License
19.67k stars 1.55k forks source link

FR: You can specify the DERP server to use in advance #13499

Open Tridays opened 2 months ago

Tridays commented 2 months ago

What are you trying to do?

Hello, request new features: You can specify the DERP server to use in advance.

Reason: When the device can not establish a direct connection, traffic can be routed through the designated DERP server, Instead of relying on DERP's delay for autoMatic selection. You can iMagine when I had 5 DERP servers (100M), I had 10 devices, If traffic is diverted to the saMe DERP at the lowest possible delay, This tiMe the utilization of DERP resources is uneven (the reMaining 4 DERPs May be wasted), will cause the Network Caton to affect the online experience.

How should we solve this?

Added feature to automatically select the DERP server in advance, not automatically based on delay!

What is the impact of not solving this?

No response

Anything else?

No response

yqs112358 commented 3 weeks ago

Absolutely useful feature!

Example of mine:

I have built several custom derp servers, some of them have low latency, some have slightly higher latency but much higher bandwidth. I want to be able to switch between different derp servers for different usage scenarios, such as a lower latency derp for everyday use, and a higher bandwidth derp for large file transfers / streaming cloud games.

Of course, it would be nice to have manual selection. And it would be nicer to have some preference to choose (Like: prefer lower delay now? or prefer high bandwidth now? etc.) This may help relieving the users of mental burden to manually select a derp server.