Skip to main content Custom DERP server running and connected, but can' t work as relay : r/Tailscale
r/Tailscale icon
Go to Tailscale
•

Custom DERP server running and connected, but can' t work as relay

Help Needed

I have setup a headscale server on my rented VPS. It uses a https domain and is working fine, despite the tunneling frequently fails. So I tried to also setup a custom DERP server.

And while I can connect to my DERP server from every node:

r/Tailscale - Custom DERP server running and connected, but can' t work as relay

But here is the problem: when I try to connect two nodes, the DERP isn' t working as a relay. I can tell this because those nodes being able to tunnel and directly connect can still connect to each other, while those previously can connect through tailscale official DERP servers now cannot.

r/Tailscale - Custom DERP server running and connected, but can' t work as relay

So there seems to be something wrong with my custom DERP server, but I cannot figure it out. I need your help.

Here are some additional information:

I used the derper-docker for simplicity, and both headscale and derper runs behind an Nginx reverse proxy, if they would be a concern.

r/Tailscale - Custom DERP server running and connected, but can' t work as relay

The DERP server is running fine, I can visit the DERP_DOMAIN and see that page.

r/Tailscale - Custom DERP server running and connected, but can' t work as relay
The feeling of not having enough time to finish all your tasks is real! Well, with monday.com’s work management platform, get more done in less time with automations, real-time communication, and notifications. Smash that done button! Try now.
Thumbnail image: The feeling of not having enough time to finish all your tasks is real! Well, with monday.com’s work management platform, get more done in less time with automations, real-time communication, and notifications. Smash that done button! Try now.
Sort by:
Best
Open comment sort options

I assume you have set the ACLs on admin console for this custom derp server. See their website.

Thanks for the reply, but actually I did not.

More replies

While looking at the docker logs, I found that the timezone was incorrect. After mounting the /etc/localtime I have been able to get the derp server to work now.

Life Saver (for now)

More replies