sh script to automate the signing of Mullvad exit nodes on a tailnet with Tailnet Lock enabled. This script is compatible with any system capable of running sh scripts.
This script has no mandatory arguments, but you can specify -v
to view more verbose output.
-
Install
jq
: You must havejq
installed for the script to work. Follow the installation instructions on the jq GitHub repository.# macOS or Linux brew install jq # Arch Linux (btw) sudo pacman -S jq # Debian/Ubuntu sudo apt-get install jq # Fedora/RHEL sudo dnf install jq # Windows (via WinGet, Scoop, or Chocolatey) winget install jqlang.jq scoop install jq chocolatey install jq
-
Setup
tailscale
CLI: Thetailscale
CLI command must be setup properly. The CLI is configured properly by default on Linux. On macOS, follow the instructions here in the Tailscale documentation to setup the CLI: https://tailscale.com/kb/1080/cli.
-
Download the Script: Either clone the repo or copy the contents of the script to a local file.
-
Make the Script Executable: Navigate to the directory where the script is located and make it executable.
chmod +x signNodes.sh
-
Run the Script: Execute the script with the proper info in the arguments.
./signNodes.sh
-
Follow the Prompts: The script will prompt you to confirm that you want to sign Mullvad exit nodes, and for the country prefix for the country's exit nodes you want to sign. Use ".." to sign all Mullvad exit nodes.