Create a dockerized Tailscale exit node with NordVPN's exit nodes.
This project will create two docker containers. One for Tailscale, and another for NordVPN. The Tailscale instance will advertise as an exit node, and use the NordVPN container as an egress route.
- A docker host, and docker build tools.
- NordVPN account.
- Support for using an alternate login-server.
- Connect to any NordVPN region.
- Copy the
.env.example
to.env
. - Customize your .env file with the desired settings:
NORDVPN_TOKEN
: Your NordVPN login token.TAILSCALE_UP_LOGIN_SERVER
: Your custom Tailscale login server.NORDVPN_ENDPOINT
: a NordVPN location (the same argument asnordvpn connect ...
)NORDVPN_TECHNOLOGY
:OPENVPN
orNORDLYNX
NORDVPN_OPENVPN_PROTOCOL
:TCP
orUDP
- Run
docker compose up -d
. You will have to watch the logs of the tailscale container for next steps. If you need to get a shell into the container, run:docker compose exec -it tailscale /bin/sh