From 5d7451e045efbd800abfa7e2eec0e4e585e2b48c Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Thu, 20 Jul 2023 16:09:48 +0100 Subject: [PATCH] Update README.md --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fb7f1e0..3de6955 100644 --- a/README.md +++ b/README.md @@ -33,4 +33,22 @@ This script is designed to be run on login on an MDM asset to ensure Tailscale l ``` curl -s https://raw.githubusercontent.com/PurpleComputing/Tailscale-scripts/main/Mac/launch-connect-vpr.sh | bash -``` \ No newline at end of file +``` + +## Mac / force-auth.sh + +### Launch Tailscale VPR on login + +This script is designed to be run on login on an MDM asset to ensure Tailscale launches and authenticates Tailscale, we use this where a client has a requirement for all external server access has to be encrypted over a tunnel. + +The script pings the exit node or a server which is online and verifies a connection, if it cannot find a connection after a short delay to force the authentication using an AUTH key. + +#### Options + +* TAILSCALEAUTHKEY="tskey-auth-hdhhj8hjdhj-dwwdgewghEHWEH90238909" +* TSSERVERIP="100.100.100.100" +##### Command to execute + +``` +curl -s https://raw.githubusercontent.com/PurpleComputing/Tailscale-scripts/main/Mac/launch-connect-vpr.sh | bash +```