Skip to content

Commit 5ceb3ba

Browse files
authored
Update README.md
1 parent 86e1ac4 commit 5ceb3ba

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

README.md

+14-7
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,27 @@ This script is designed to be run on login on an MDM asset to ensure Tailscale l
3535
curl -s https://raw.githubusercontent.com/PurpleComputing/Tailscale-scripts/main/Mac/launch-connect-vpr.sh | bash
3636
```
3737

38-
## Mac / force-auth.sh
38+
## Mac / silent-auth.sh
3939

40-
### Launch Tailscale VPR on login
40+
### Launch Tailscale with Silent Authentication (Designed to be one script to
4141

42-
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.
42+
This script is designed to be run on login on an MDM asset to ensure Tailscale launches and authenticates Tailscale and sets the hostname relative to the User or User and Device. We use this where a client has a requirement that all external server access has to be encrypted over a tunnel.
4343

44-
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.
44+
The script pings the exit node or a server that is online and verifies a connection. If it cannot find a connection after a short delay, it forces the authentication using an AUTH key, sets the hostname and or selects an exit node.
4545

4646
#### Options
4747

48-
* TAILSCALEAUTHKEY="tskey-auth-hdhhj8hjdhj-dwwdgewghEHWEH90238909"
49-
* TSSERVERIP="100.100.100.100"
48+
* TAILSCALENET="purplecomputing.com"
49+
* TAILSCALEAUTHKEY="tskey-auth-UERI564CNTRL-94949ur49hfkhkdfnknff"
50+
* TAILSCALEAPIKEY="tskey-api-UERI564CNTRL-94949ur49hfkhkdfnknff" # USED FOR REMOVING DUPLICATE DEVICES ON NEW AUTH
51+
* HOOKHELPER="" # USED FOR REMOVING DUPLICATE DEVICES ON NEW AUTH
52+
* TSSERVERIP="100.100.100.100" # USED FOR PING CHECK TO CHECK IF DEVICE IS ON THE TAILSCALE NETWORK
53+
* TSUNAME="%FullName%" # USED IF MDM SETTING ASSIGNEE NAME OPPOSED TO CONSOLE NAME IF NOT USED FALLS BACK TO CONSOLE NAME
54+
* USEMODELANDSERIAL="N" # IF N THE HOSTNAME WILL BE CONSOLE NAME OR ASSIGNEE NAME (joebloggs) IF Y THE HOSTNAME NAME WILL BE (joe-bloggs-macbook-pro-vhk228jhfx) name-model-serial
55+
* TSEXITNODE="100.100.100.100" # EITHER TAILSCALE LAN IP OF EXIT NODE or "N"
56+
5057
##### Command to execute
5158

5259
```
53-
curl -s https://raw.githubusercontent.com/PurpleComputing/Tailscale-scripts/main/Mac/launch-connect-vpr.sh | bash
60+
curl -s https://raw.githubusercontent.com/PurpleComputing/Tailscale-scripts/main/Mac/silent-auth.sh | bash
5461
```

0 commit comments

Comments
 (0)