Running tailscale on my homeassistant RPI4 is kind of nice. Now whenever we go anywhere outside of our country, we can connect to our home exit node and still watch Ponyo on Netflix thanks to Ghibli content being available in Iceland.
Running tailscale in a docker container has to be one of the easiest docker-compose.yml files ever:
Then you’ll just need to create a machine key in the Tailscale admin UI and add a tag to it – then the node expiry will be removed and your machine will continue to re-authenticate.
The key does not need to be ephemeral so long as you set the state dir environment variable and add a tag to the key.
Lastly, once the node is connected go back to the Tailscale admin pages, view your machines, select your newly connected docker machine and modify the route settings, then toggle the exit node switch to on.
This was the easiest VPN setup I’ve had on my raspberry pi so far.