Twingate Connector
Identity-based access for users, services, and AI agents that deploys in minutes, scales to every resource, and finally lets you retire your VPN.
- 1Copy the script below
- 2In HexOS, open Apps, find Twingate Connector 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 twingate-connector 1.1.16"
6 },
37 "installation_questions": [
8 {
9 "question": "Network name",
10 "type": "text",
11 "key": "network_name",
12 "required": true
13 },
14 {
15 "question": "Access token",
16 "type": "password",
17 "key": "access_token",
18 "required": true
19 },
20 {
21 "question": "Refresh token",
22 "type": "password",
23 "key": "refresh_token",
24 "required": true
25 }
26 ],
427 "requirements": {"locations": [], "specifications": ["2CORE"]},
28 "app_values": {
29 "twingate": {
530 "network_name": "$QUESTION(network_name)",
631 "access_token": "$QUESTION(access_token)",
732 "refresh_token": "$QUESTION(refresh_token)"
33 },
834 "resources": {"limits": {"cpus": 2, "memory": "$MEMORY(10%, 4096)"}}
35 }
36}
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 twingate-connector 1.1.16”.
Lines 3–6
-
Questions you'll be asked
Before installing, HexOS will ask you for: Network name, Access token and Refresh token. Your answers are slotted into the settings further down wherever you see $QUESTION(...).
Lines 7–26
-
Minimum hardware
Recommended minimum: 2 CPU cores.
Line 27
-
Your answer: network name
Filled in with what you typed for “network name” when you installed.
Line 30
-
Your answer: access token
Filled in with what you typed for “access token” when you installed.
Line 31
-
Your answer: refresh token
Filled in with what you typed for “refresh token” when you installed.
Line 32
-
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 34