NETVARA KNOWLEDGE BASE
How to Change What the Netvara Client Uses to Bind To
How to Change What the Netvara Client Uses to Bind To
Overview
The bind policy controls which network interfaces can accept connections to the Netvara Client gateway. The default is localhost only, which is the most secure option for local applications. Choose a broader policy only when another device needs to access the gateway.
Netvara Client supports four bind modes:
1. Localhost only (127.0.0.1) — The default and most secure mode. Only applications on the host device can connect.
2. Tailscale network + localhost — The gateway is available on the host and through the private Tailscale network.
3. Specific IP address + localhost — The gateway is available through a selected interface, such as a LAN address, and locally.
4. Any device on the network (0.0.0.0) — Listens on network interfaces broadly. The setup wizard requires explicit yes confirmation because this exposes the gateway to devices that can reach the host.
Prerequisites
- Netvara Client installed and running.
- Terminal access to the host device.
- The IP address or Tailscale interface you intend to use, if selecting a specific interface.
- For remote access, a Netvara User API key beginning with
net_....
Step-by-Step Instructions
Recommended: use the setup wizard
1. Open a terminal.
2. Start the configuration wizard:
python3 ~/.netvara-client/netvara_client.py setup If your installation labels this action as reconfiguration, use the available reconfigure option in the wizard.
3. Select the desired bind mode.
4. If you select 0.0.0.0, read the warning and type the requested yes confirmation only if you intend to expose the gateway to the network.
5. Save the configuration.
6. Restart the client:
python3 ~/.netvara-client/netvara_client.py restartDirect configuration
The bind policy is stored in:
~/.netvara-client/gateway_access.jsonUse the setup wizard whenever possible so that the configuration is validated. If you edit this file directly, preserve its existing JSON structure and values, then restart the client:
python3 ~/.netvara-client/netvara_client.py restartVerification
1. Confirm the client restarted without errors.
2. From the host device, test the local gateway at:
http://127.0.0.1:8091/v13. If you selected a remote bind, test from an authorized device using the selected address and a net_... User API key.
4. Confirm that the bind policy in the setup wizard or gateway_access.json matches the exposure you intended.
Troubleshooting & Common Questions
Which mode should I use? Keep localhost only unless another device must connect. Use Tailscale network + localhost for private remote access over your tailnet. Use a specific IP for a controlled interface. Avoid 0.0.0.0 unless broad network access is intentional.
What authentication does each mode use? Local callers on the same machine use the local token at ~/.netvara-client/local_api_key. Callers connecting through a network or remote interface must use a Netvara User API key in the net_... format.
I changed the configuration but the bind address did not change. Restart the client after saving the configuration. If the problem persists, rerun the setup wizard and check the JSON for syntax errors.
Can I use the local token from another device? No. Use a Netvara User API key for remote or network calls.
Is 0.0.0.0 safe? It allows listening on all network interfaces. Use it only on a trusted, properly protected network and only when you understand which devices can reach the host.
