Set-RandomMullvadLocation
is a tool to set a random or specific Mullvad VPN server location using either PowerShell or Python scripts. It leverages the Mullvad CLI to list available server locations and set the desired* location.
- Random Location: Set a random Mullvad VPN server location.
- Specific Location: Set a Mullvad VPN server location by country shorthand or full country name.
- List Locations: Display available Mullvad VPN server locations.
- Mullvad VPN CLI (
mullvad
)
- PowerShell
- Python 3.x
# List available locations
Set-RandomMullvadLocation -ListLocations
# Set random location
Set-RandomMullvadLocation
# Set specific location
Set-RandomMullvadLocation -Country US
# List available locations
python RandomMullvadLocation.py --list
# Set random location
python RandomMullvadLocation.py
# Set specific location
python RandomMullvadLocation.py --country US
Bring the Powershell version up to parity with the Python copyAllow shorthand or longhand for Country input with Powershell
- Allow you to randomize servers within the same Country consecutively.
- i.e. if passing the same country twice in a row, it doesn't pick a new server within the country.