fredliang44 / derper-docker

tailscale‘s selfhosted derp-server docker image
https://tailscale.com/kb/1118/custom-derp-servers/
GNU General Public License v3.0
280 stars 72 forks source link

DERP_VERIFY_CLIENTS env option not working #11

Closed houance closed 5 months ago

houance commented 7 months ago

According to the official documentation, if you want to use the DERP_VERIFY_CLIENTS Option on a custom derp server, you need to install a tailscale instance. Does this mean that the existing dockerfile cannot enable the DERP_VERIFY_CLIENTS Option? Because I don’t see the steps to install tailscale in the dockerfile.

official documentation : https://tailscale.com/kb/1118/custom-derp-servers#step-2-adding-derp-servers-to-your-tailnet

LinEvil commented 7 months ago

You should install tailscale on your host machine and mount /var/run/tailscale/tailscaled.sock to the container