Documentation
Networking & security

Twingate

Set up Twingate to access your private Sliplane services through a zero-trust network.

Twingate is a zero-trust network access solution. Once configured, you can access your private Sliplane services using their internal hostnames from any device connected to your Twingate network.

Prerequisites

Step 1: Add a Resource

  1. Log in to your Twingate admin console
  2. Add a new Resource
  3. Set the address to *.internal

Step 2: Deploy the Connector on Sliplane

  1. In the Twingate dashboard, go to Deploy another Connector
  2. Select Docker
  3. Keep the default settings
  4. Copy the generated Docker command

You'll get a command like this:

docker run -d --sysctl net.ipv4.ping_group_range="0 2147483647" \
  --env TWINGATE_NETWORK="your-network" \
  --env TWINGATE_ACCESS_TOKEN="..." \
  --env TWINGATE_REFRESH_TOKEN="..." \
  --env TWINGATE_LABEL_HOSTNAME="hostname" \
  --env TWINGATE_LABEL_DEPLOYED_BY="docker" \
  --name "twingate-connector" \
  --restart=unless-stopped \
  --pull=always \
  twingate/connector:1

In Sliplane, you can paste this command directly when creating a new service — Sliplane will parse it and configure the service automatically.

SettingValue
Imagetwingate/connector:1
NetworkPrivate (no public access)

netbird dashboard

netbird dashboard

Step 3: Connect Your Local Device

  1. Install the Twingate client on your local machine
  2. Log in to your Twingate network

Step 4: Access Your Private Services

Once connected, you can access any private service using its internal hostname:

curl http://my-service.internal

Troubleshooting

Service not reachable:

  • Ensure the Twingate connector is running on Sliplane
  • Check that your local device is connected to Twingate
  • Verify the *.internal resource is configured in Twingate

Connector not connecting:

  • Verify your access and refresh tokens are correct
  • Check the service logs in Sliplane

How is this guide?

On this page