Default VPN to Tailscale, add auth key expiry warning

Tailscale handles NAT traversal automatically via DERP relay — more
reliable than WireGuard for devices landing on unknown networks.
Add reminder to use reusable non-expiring keys for long-term drops.
This commit is contained in:
Cobra
2026-04-07 14:41:17 -04:00
parent b0fb5af1fb
commit af124cc6d0
+2 -1
View File
@@ -317,7 +317,7 @@ echo " [1] None"
echo " [2] Tailscale" echo " [2] Tailscale"
echo " [3] WireGuard" echo " [3] WireGuard"
echo " [4] Reverse SSH Tunnel (autossh) — no traffic until operator connects" echo " [4] Reverse SSH Tunnel (autossh) — no traffic until operator connects"
prompt_default vpn_opt "Select VPN (1-4)" "1" prompt_default vpn_opt "Select VPN (1-4)" "2"
BB_VPN="none" BB_VPN="none"
TAILSCALE_KEY="" TAILSCALE_KEY=""
@@ -333,6 +333,7 @@ if [[ "$vpn_opt" == "1" ]]; then
BB_VPN="none" BB_VPN="none"
elif [[ "$vpn_opt" == "2" ]]; then elif [[ "$vpn_opt" == "2" ]]; then
BB_VPN="tailscale" BB_VPN="tailscale"
echo -e " ${YELLOW}Use a reusable, non-expiring key from Tailscale admin → Settings → Auth keys${NC}"
prompt_default tailscale_key "Tailscale auth key" "" prompt_default tailscale_key "Tailscale auth key" ""
TAILSCALE_KEY="$tailscale_key" TAILSCALE_KEY="$tailscale_key"
elif [[ "$vpn_opt" == "3" ]]; then elif [[ "$vpn_opt" == "3" ]]; then