← Back to Support Overview

NETVARA KNOWLEDGE BASE

How to Use Netvara Client with Tailscale

How to Use Netvara Client with Tailscale

Overview

Tailscale lets authorized devices on your private tailnet access the Netvara Client gateway without exposing it broadly to the public internet. Netvara Client can automatically detect the host's Tailscale address, typically in the 100.x.y.z range, and bind to that address while remaining available locally.

Prerequisites

  • Netvara Client installed on the host device.
  • Tailscale installed, signed in, and connected on the host.
  • The calling device signed in to the same tailnet or an authorized network.
  • Terminal access to the host.
  • A Netvara User API key beginning with net_... for remote calls.

Step-by-Step Instructions

1. Confirm that Tailscale is connected on the host and note its address. The address is normally a 100.x.y.z address.
2. Open a terminal on the host.
3. Start the Netvara Client setup wizard:

   python3 ~/.netvara-client/netvara_client.py setup

4. Select Option 2: Tailscale network + localhost (the tailnet_only bind policy).
5. Allow the wizard to detect the Tailscale address automatically.
6. Save the configuration and restart the client:

   python3 ~/.netvara-client/netvara_client.py restart

7. From another authorized device on your tailnet, use this gateway URL, replacing the placeholder with the host's Tailscale IP:

   http://<tailscale-ip>:8091/v1

Test with curl

For a remote Tailscale request, provide your Netvara User API key:

curl http://<tailscale-ip>:8091/v1/models \
  -H "Authorization: Bearer net_your_user_api_key"

Verification

1. On the host, verify that Tailscale reports the device as connected.
2. From another tailnet device, run the curl command above.
3. Confirm that the request reaches the gateway and returns a response rather than a connection timeout.
4. Test the local path separately from the host:

   http://127.0.0.1:8091/v1

Troubleshooting & Common Questions

The wizard does not detect a Tailscale address. Confirm that Tailscale is running and signed in, then retry setup. If the host has no active 100.x.y.z address, connect Tailscale before configuring this mode.

The remote request is rejected even though the devices are on the same tailnet. Remote callers must use a Netvara User API key in the net_... format. The local token is for callers on the same host and should not be used for remote access.

The connection times out. Confirm the host's Tailscale IP, that Netvara Client is running, and that the selected bind policy is Tailscale network + localhost. Also check any host firewall rules that may block port 8091.

Can I use the local token over Tailscale? No. Use an account User API key for every remote Tailscale request.

Is Tailscale access public? Tailscale access is limited by your tailnet and its access-control policy, but you should still protect your API key and review which devices are authorized.

← Back to Support Overview