How to Troubleshoot Twingate P2P, Relay, and Connector Issues?
Overview
Twingate uses Peer-to-Peer (P2P) technology to connect users directly to the Connector. If P2P fails, it falls back to a "Relay" (slower). This guide fixes common connection and performance issues.
Issue 1: "Public Resource Not Routing" (Split Tunnel Conflict)
Symptom: You added a public IP (e.g., a SaaS provider whitelist IP) as a Resource, but traffic is still showing the user's home IP.
Cause: The user's browser has cached the DNS or connection.
Fix:
Twingate captures traffic based on DNS.
Run
ipconfig /flushdns(Windows) orsudo killall -HUP mDNSResponder(macOS).Restart the browser.
Issue 2: Slow Performance (Relay vs. P2P)
Symptom: File transfers are slow.
Check: Open the Twingate Client > Click the Resource name. Does it say "Relay" or "Peer-to-Peer"?
Fix (If Relay):
QUIC Blocked: Ensure your corporate firewall allows UDP Port 443 outbound. Twingate uses QUIC (UDP) for P2P.
Double NAT: If the user is behind a strict double NAT (e.g., Hotel Wi-Fi + VM), P2P might fail. This is often unavoidable, but switching networks usually tests the theory.
Issue 3: "Connector Offline"
Symptom: The Admin Console shows the Connector is down.
Cause: The Docker container or Systemd service crashed or updated.
Fix:
Check the logs on the Connector host:
Docker:
docker logs twingate-connectorLinux Service:
journalctl -u twingate-connector
Time Sync: Ensure the Connector server's clock is synced (NTP). If the time drifts by >2 minutes, authentication tokens fail.
FAQ
1) Why is a public resource not routing through Twingate?
Twingate routes traffic based on DNS. If the browser cached the connection earlier, traffic may bypass Twingate until DNS cache is flushed and the browser restarted.
2) Why does Twingate show Relay instead of Peer-to-Peer?
P2P fails when UDP 443 (QUIC) is blocked or users are behind strict NAT. In these cases, Twingate automatically falls back to relay mode.
3) How can slow Twingate performance be improved?
Ensure outbound UDP port 443 is allowed on firewalls and test alternate networks to rule out double NAT scenarios that prevent peer-to-peer connections.
4) What causes a Twingate Connector to appear offline?
Connector downtime is usually caused by crashed Docker containers, stopped services, or time drift. Check logs and ensure NTP time synchronization is active on the host.
