Connecting through Tailscale
Tailscale is a managed virtual private network (VPN). It creates a private mesh network called a tailnet.
Every device on the tailnet then receives a stable private IP address, and can communicate directly to every other device.
Enabling the connection from Structural
To allow Tonic Structural to reach a database through Tailscale, you:
Add the database server as a node on your tailnet, either directly or behind a subnet router.
Provide Structural with:
An OAuth client credential.
The access control list (ACL) tags for Structural to advertise when it joins the tailnet. Your tailnet ACL policy must allow those tags to reach the database's IP address and port.
Configuring Tailscale tunneling
From the workspace configuration, to connect through Tailscale:
If the connector supports multiple tunneling options:
Toggle Enable Connection Tunnel to the on position.
From the Tunnel type dropdown list, select Tailscale Tunnel.
If the data connector only supports Tailscale tunneling, then it is selected automatically.
In the Tags field, provide a comma-separated list of ACL tags to use to join the tailnet. For example,
tag:tonic-worker.Optionally, in the Control Server URL field, provide the URL. This is intended for customers who use Headscale or a self-hosted Tailscale control plane.
In the Tailscale Auth Key field, provide a Tailscale OAuth client credential. Structural does not support other types of Tailscale keys, such as user auth keys. You create the credential from the OAuth clients page in your Tailscale admin console. If secrets managers are available, you can instead select a secret name from a secrets manager.
Last updated
Was this helpful?