Skip to content

sh script to help automate signing of Mullvad exit nodes with Tailnet Lock

Notifications You must be signed in to change notification settings

tailscale-support/mullvad-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

mullvad-script

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.

Overview

This script has no mandatory arguments, but you can specify -v to view more verbose output.

Prerequisites

  1. Install jq: You must have jq 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
  2. Setup tailscale CLI: The tailscale 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.

Usage

  1. Download the Script: Either clone the repo or copy the contents of the script to a local file.

  2. Make the Script Executable: Navigate to the directory where the script is located and make it executable.

    chmod +x signNodes.sh
  3. Run the Script: Execute the script with the proper info in the arguments.

    ./signNodes.sh
  4. 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.

About

sh script to help automate signing of Mullvad exit nodes with Tailnet Lock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages