A simple containerized Tailscale exit node.
This allows routing internet traffic from connected devices on your tailnet through this exit node
- Install Docker
git clone https://github.com/dustinbowers/tailscale-exit-node
cd tailscale-exit-node
cp tailscale.env.example tailscale.env
-
Get a tailscale auth key from your Tailscale Admin Console
-
Add your auth key to
TS_AUTHKEY=
in thetailscale.env
file -
Start the container with
./start.sh
(ordocker compose up -d
) then go to the tailscale admin console and allow the new Machine to run as an exit node on your tailnet
- Start Tailscale exit node:
./start.sh
(ordocker compose up -d
) - Stop Tailscale exit node:
./stop.sh
(ordocker compose down
)