Commit c1044c8

xxwhirlpool  ·  2026-04-04 15:23:12 -0400 EDT
parent 8a28b21
ts vpn toggle script
1 files changed,  +21, -0
+21, -0
......@@ -0,0 +1,21 @@
1+#!/usr/bin/env bash
2+#
3+# having some weird issues with split tunneling VPN + tailscale
4+# this'll have to do for now :/
5+
6+vpnon_tsoff() {
7+ mullvad connect
8+ tailscale down
9+}
10+
11+vpnoff_tson() {
12+ mullvad disconnect
13+ tailscale up
14+}
15+
16+choose=$(gum choose "tson_vpnoff" "tsoff_vpnon")
17+case "$choose" in
18+ "tson_vpnoff") vpnon_tsoff ;;
19+ "tsoff_vpnon") vpnoff_tson ;;
20+ *) exit;;
21+esac