clawdbot-workspace/install-mullvad.sh

26 lines
862 B
Bash

#!/bin/bash
# One-shot Mullvad installer — run this when you're at the Mac mini
# Usage: bash ~/clawdbot-workspace/install-mullvad.sh
echo "Installing Mullvad VPN..."
sudo installer -pkg /tmp/mullvad.pkg -target /
echo "Waiting for daemon to start..."
sleep 5
echo "Logging in..."
mullvad account login 0261371699190571
echo "Setting to WireGuard protocol..."
mullvad relay set tunnel-protocol wireguard
echo "Done! Use 'mullvad relay set location XX' to pick a country."
echo "Examples:"
echo " mullvad relay set location gb # UK"
echo " mullvad relay set location de # Germany"
echo " mullvad relay set location jp # Japan"
echo " mullvad relay set location br # Brazil"
echo " mullvad connect # Connect"
echo " mullvad disconnect # Disconnect"
echo " mullvad status # Check status"