Tailscale
Secure remote access to shared resources
- 1Copy the script below
- 2In HexOS, open Apps, find Tailscale and choose Custom Install
- 3Paste, then press Install — full guide with screenshots
1{
12 "version": 5,
23 "script": {
4 "version": "0.1.0",
5 "changeLog": "Auto-generated draft from TrueNAS tailscale 1.4.17"
6 },
37 "installation_questions": [
8 {
9 "question": "Auth key",
10 "type": "password",
11 "key": "auth_key",
12 "required": true
13 }
14 ],
15 "requirements": {
416 "locations": ["ApplicationsPerformance"],
517 "specifications": ["2CORE"],
618 "permissions": ["READ_WRITE_LOCATIONS"]
19 },
720 "ensure_directories_exists": [
21 {"path": "$LOCATION(ApplicationsPerformance)"},
22 {"path": "$LOCATION(ApplicationsPerformance)/tailscale"},
23 {
24 "path": "$LOCATION(ApplicationsPerformance)/tailscale/state",
25 "snapshot": {"id": "state"}
26 }
27 ],
28 "app_values": {
829 "tailscale": {"auth_key": "$QUESTION(auth_key)"},
30 "storage": {
931 "state": "$HOST_PATH($LOCATION(ApplicationsPerformance)/tailscale/state)"
32 },
1033 "resources": {"limits": {"cpus": 2, "memory": "$MEMORY(10%, 4096)"}}
34 }
35}
What this script does
Hover or tap a box to see the lines it explains.
-
Script format
Tells HexOS this is a version 5 install script, so it knows how to read the rest.
Line 2
-
Script revision
This copy of the script is revision 0.1.0. Latest change: “Auto-generated draft from TrueNAS tailscale 1.4.17”.
Lines 3–6
-
Questions you'll be asked
Before installing, HexOS will ask you for: Auth key. Your answers are slotted into the settings further down wherever you see $QUESTION(...).
Lines 7–14
-
Storage locations it needs
The app uses these HexOS storage locations: App storage (fast). If one isn't set up yet, HexOS will ask you to pick a place for it.
Line 16
-
Minimum hardware
Recommended minimum: 2 CPU cores.
Line 17
-
Permission to use your folders
Allows the app to read and write files inside the storage locations listed above — and nowhere else.
Line 18
-
Folders created on install
Creates the folders the app needs before it starts: App storage (fast) › tailscale and App storage (fast) › tailscale › state. Folders marked “snapshot” are included in HexOS snapshots, so you can roll them back.
Lines 20–27
-
Your answer: auth key
Filled in with what you typed for “auth key” when you installed.
Line 29
-
Where the app's “state” files is saved
Where the app's “state” files is saved on your server: App storage (fast) › tailscale › state.
Line 31
-
Resource limits
Caps how much of your server the app can use: 2 CPU cores and 10% of your server's memory, but never more than 4 GB. This keeps one busy app from slowing everything else down.
Line 33