Docs

Why a session was not direct

A session that went through the relay says why it could not go directly. You see the reason under Connections in the web app, in the output of cz connect, and in the session information in your code:
policy_relay_onlyThe service’s path policy is relay-only.
peer_no_direct_supportThe other endpoint does not support a direct path.
stun_unreachableNo STUN server could be reached, so the endpoint could not find out its public address.
udp_blocked_localUDP is blocked on the network of the endpoint that reported this.
udp_blocked_remoteUDP is blocked on the other endpoint’s network.
symmetric_nat_bothBoth endpoints are behind symmetric NAT, which hole punching cannot get through.
probe_timeoutThe two endpoints could not reach each other directly in time.
tcp_unreachableOnly TCP was available for a direct path, and neither endpoint could reach the other.
candidate_signature_invalidThe other endpoint’s address list was not validly signed, so it was ignored.
A relayed session works the same way and stays end-to-end encrypted. It can be slower, and its traffic counts towards your plan. What you can do about each reason is in the troubleshooting guide.