Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Trugamr/tailscale-derper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tailscale-derper

A docker compose setup to run custom relay using tailscale derper.

How it works?

In order to verify clients, derper needs to be connected to the tailscale network. We can do this in multiple ways but in this particular setup, we use a pre-auth key to join the tailscale network.

Now that we have joined the tailscale network, we need to provide derper with the socket to communicate with tailscaled so it can verify clients. We do this by first exposing the tailscale socket by using bind mounts and then mounting it to derper.

If you don't need to verify clients and run derper with public access, you can check the docker-compose.simple.yml example.

Configuration

Derper can easily be configure by using command line arguments and since we are using official tailscale image, it can be configured using environment variables found on Dockerhub.

About

Custom tailscale relay using docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published