mullvad-exclude tailscaled
mullvad-exclude tailscaled
mullvad-exclude tailscaled
[Unit]
After=mullvad-daemon.service
Wants=mullvad-daemon.service [Service]
ExecStart=
ExecStart=/usr/bin/mullvad-exclude /usr/sbin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock --port=${PORT} $FLAGS
[Unit]
After=mullvad-daemon.service
Wants=mullvad-daemon.service [Service]
ExecStart=
ExecStart=/usr/bin/mullvad-exclude /usr/sbin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock --port=${PORT} $FLAGS
[Unit]
After=mullvad-daemon.service
Wants=mullvad-daemon.service [Service]
ExecStart=
ExecStart=/usr/bin/mullvad-exclude /usr/sbin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock --port=${PORT} $FLAGS
sudo systemctl daemon-reload
sudo systemctl restart tailscaled
sudo systemctl daemon-reload
sudo systemctl restart tailscaled
sudo systemctl daemon-reload
sudo systemctl restart tailscaled
sudo tailscale up --accept-dns=false
sudo tailscale up --accept-dns=false
sudo tailscale up --accept-dns=false
tailscale set --ssh
tailscale set --ssh
tailscale set --ssh
#!/usr/bin/env sh
echo "== tailscale + mullvad coexistence check ==" systemctl is-active --quiet tailscaled \ && echo "PASS tailscaled active" \ || echo "FAIL tailscaled not active" systemctl show tailscaled -p ExecStart | grep -q mullvad-exclude \ && echo "PASS running under mullvad-exclude" \ || echo "FAIL not under mullvad-exclude" if tailscale status >/dev/null 2>&1 && ! tailscale status 2>&1 | grep -qi "logged out"; then echo "PASS tailnet up (logged in)"
else echo "FAIL tailnet down / logged out"
fi tailscale debug prefs 2>/dev/null | grep -q '"RunSSH": true' \ && echo "PASS tailscale SSH enabled" \ || echo "FAIL SSH pref off" getent hosts google.com >/dev/null 2>&1 \ && echo "PASS normal DNS works" \ || echo "FAIL DNS broken" curl -fsS --max-time 8 https://am.i.mullvad.net/connected 2>/dev/null | grep -qi "connected to Mullvad" \ && echo "PASS normal traffic via Mullvad" \ || echo "FAIL not protected by Mullvad"
#!/usr/bin/env sh
echo "== tailscale + mullvad coexistence check ==" systemctl is-active --quiet tailscaled \ && echo "PASS tailscaled active" \ || echo "FAIL tailscaled not active" systemctl show tailscaled -p ExecStart | grep -q mullvad-exclude \ && echo "PASS running under mullvad-exclude" \ || echo "FAIL not under mullvad-exclude" if tailscale status >/dev/null 2>&1 && ! tailscale status 2>&1 | grep -qi "logged out"; then echo "PASS tailnet up (logged in)"
else echo "FAIL tailnet down / logged out"
fi tailscale debug prefs 2>/dev/null | grep -q '"RunSSH": true' \ && echo "PASS tailscale SSH enabled" \ || echo "FAIL SSH pref off" getent hosts google.com >/dev/null 2>&1 \ && echo "PASS normal DNS works" \ || echo "FAIL DNS broken" curl -fsS --max-time 8 https://am.i.mullvad.net/connected 2>/dev/null | grep -qi "connected to Mullvad" \ && echo "PASS normal traffic via Mullvad" \ || echo "FAIL not protected by Mullvad"
#!/usr/bin/env sh
echo "== tailscale + mullvad coexistence check ==" systemctl is-active --quiet tailscaled \ && echo "PASS tailscaled active" \ || echo "FAIL tailscaled not active" systemctl show tailscaled -p ExecStart | grep -q mullvad-exclude \ && echo "PASS running under mullvad-exclude" \ || echo "FAIL not under mullvad-exclude" if tailscale status >/dev/null 2>&1 && ! tailscale status 2>&1 | grep -qi "logged out"; then echo "PASS tailnet up (logged in)"
else echo "FAIL tailnet down / logged out"
fi tailscale debug prefs 2>/dev/null | grep -q '"RunSSH": true' \ && echo "PASS tailscale SSH enabled" \ || echo "FAIL SSH pref off" getent hosts google.com >/dev/null 2>&1 \ && echo "PASS normal DNS works" \ || echo "FAIL DNS broken" curl -fsS --max-time 8 https://am.i.mullvad.net/connected 2>/dev/null | grep -qi "connected to Mullvad" \ && echo "PASS normal traffic via Mullvad" \ || echo "FAIL not protected by Mullvad" - tailscaled is active
- tailscaled runs under mullvad-exclude
- the tailnet is up
- SSH is enabled
- normal DNS resolves
- normal traffic exits through Mullvad