From 3bd0ee8ca1d24bc39f6cf18243f1bf09e4fa54e9 Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Fri, 25 Aug 2023 13:01:32 +0100 Subject: [PATCH] Update force-auth-fl-exitnode.sh --- Mac/force-auth-fl-exitnode.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mac/force-auth-fl-exitnode.sh b/Mac/force-auth-fl-exitnode.sh index 4d030de..035abca 100644 --- a/Mac/force-auth-fl-exitnode.sh +++ b/Mac/force-auth-fl-exitnode.sh @@ -117,8 +117,9 @@ if [ "$PING2" -eq "1" ]; then else runAsUser osascript -e 'tell application "Tailscale"' -e 'activate' -e 'end tell' sleep 3 - runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --authkey "$TAILSCALEAUTHKEY" --hostname "$TSUSER" --exit-node="secure-vpr" --exit-node-allow-lan-access --reset + runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --authkey "$TAILSCALEAUTHKEY" --hostname "$TSUSER" --reset echo + runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --hostname "$TSUSER" --exit-node="secure-vpr" --exit-node-allow-lan-access fi # PING TAILSCALE VPR AFTER FIRST ATTEMPT @@ -136,8 +137,9 @@ if [ "$PING3" -eq "1" ]; then else runAsUser osascript -e 'tell application "Tailscale"' -e 'activate' -e 'end tell' sleep 3 - runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --authkey "$TAILSCALEAUTHKEY" --hostname "$TSUSER" --exit-node="secure-vpr" --exit-node-allow-lan-access --reset + runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --authkey "$TAILSCALEAUTHKEY" --hostname "$TSUSER" --reset echo + runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --hostname "$TSUSER" --exit-node="secure-vpr" --exit-node-allow-lan-access fi echo "End: *** PURPLE LAUNCH TAILSCALE FORCE AUTH SCRIPT ***"