No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-16 02:12:18 +02:00
README.md Update README with IP display feature 2026-05-16 02:12:18 +02:00
tailscale-mullvad Show external IP before and after Mullvad activation 2026-05-16 02:11:29 +02:00

Tailscale-Mullvad

🤖 Gevibecode met OpenCode 1.14.50 en Deepseek v4 Pro

CLI-tool om Mullvad exit nodes te gebruiken via Tailscale op macOS en Linux.

Wat het doet

Schakelt Mullvad exit nodes in en uit via de Tailscale CLI. Al het internetverkeer loopt dan via een Mullvad VPN-server, terwijl Tailscale-peers direct bereikbaar blijven. Toont voor en na activatie het externe IP-adres.

Installatie

git clone https://git.eddydevink.nl/eddy/tailscale-mullvad.git
cd tailscale-mullvad
chmod +x tailscale-mullvad
sudo cp tailscale-mullvad /usr/local/bin/

Geen compilatie nodig — het is een Python 3 script.

Vereisten:

  • Python 3
  • Tailscale CLI (tailscale)
  • Mullvad VPN add-on geactiveerd in je Tailscale admin console
  • Jouw device toegevoegd aan Mullvad VPN in de admin console

Gebruik

tailscale-mullvad on <stad of land>   # Verbind met Mullvad exit node
tailscale-mullvad off                  # Verbreek Mullvad exit node
tailscale-mullvad status               # Toon huidige status

Matching is case-insensitive op stad of land. Bij meerdere nodes in dezelfde regio wordt er willekeurig één gekozen.

Voorbeelden

$ tailscale-mullvad on amsterdam
Current IP: 94.157.20.52
Connecting to Mullvad: Netherlands - Amsterdam (nl-ams-wg-201.mullvad.ts.net)
...
Mullvad: ON  -> nl-ams-wg-201.mullvad.ts.net
IP: 94.157.20.52 -> 169.150.196.4

$ tailscale-mullvad status
Mullvad: ON  -> nl-ams-wg-201.mullvad.ts.net

$ tailscale-mullvad off
Mullvad: OFF

$ tailscale-mullvad on japan
Current IP: 169.150.196.4
Connecting to Mullvad: Japan - Tokyo (jp-tyo-wg-001.mullvad.ts.net)
...
Mullvad: ON  -> jp-tyo-wg-001.mullvad.ts.net
IP: 169.150.196.4 -> 146.70.45.83