Firewalls, Proxies and TLS Inspection
This page is about firewalls, proxies and TLS inspection that sit between an agent and the XplicitTrust services or its peers, and that you do not control with XplicitTrust. It is not Firewall Sync, which lets a gateway asset write the rules of a FortiGate for the networks behind it. Here the firewall is a source of problems, and you change its settings by hand.
When XplicitTrust Network Access is deployed behind a corporate firewall, several common firewall features can interfere with the agent's data path. This page describes the mechanisms that most often cause problems and how to adjust the firewall so that XplicitTrust clients can establish and maintain stable tunnels.
In short
Four firewall features break or slow the tunnel: Application Control that blocks WireGuard, DoS / UDP flood protection, SSL / TLS deep inspection, and source-NAT port randomisation. Allow outgoing TCP 443 and UDP 51820-60000 and exclude *.xplicittrust.com from inspection (Requirements). Confirm with xtna-util -connectivity and xtna-util -status, then use the page of your firewall vendor.
What breaks the data path
Four firewall features can interfere with the agent's data path, independently of each other:
- Application Control identifies WireGuard via deep packet inspection on the handshake. Most vendors classify the WireGuard signature as high-risk and block it by default. Detection is protocol-based, so changing the UDP port does not bypass it.
- DoS / UDP flood protection drops sustained UDP traffic once a packets-per-second threshold is exceeded. Default thresholds are conservative and are routinely tripped by legitimate VPN traffic during file transfers, VoIP or screen sharing.
- SSL / TLS deep inspection (HTTPS decryption) affects the TCP relay path. The relay carries WireGuard payload inside a TLS connection on TCP/443. When deep inspection is active, the firewall terminates the TLS session and substitutes its own certificate; the XplicitTrust agent rejects the substituted certificate and the TCP relay fails. If the UDP relay is simultaneously blocked, the agent cannot connect at all.
- Source-NAT port translation randomises the UDP source port of outgoing packets when configured to do so. Direct peer-to-peer connections rely on UDP hole punching, which requires the firewall to preserve the agent's source port across NAT. Configurations that do not preserve it cause the agent to fall back to the UDP relay even when a direct path would otherwise be possible.
The first three mechanisms can fully block the data path; the fourth does not interrupt connectivity, but forces all traffic through the UDP relay.
Background
XplicitTrust uses WireGuard over UDP as its preferred data path. Clients reach their peers directly (after UDP hole punching) or through a UDP relay, and fail over to a TCP relay (TLS over TCP/443) when UDP is unavailable or unstable. The TCP fallback keeps the connection up but adds latency and overhead. Traffic stays end-to-end encrypted on every path; the relay never has access to its contents. How the paths are chosen, how NAT types affect hole punching and what the relay fallback means are explained in Connection Paths and NAT.
Ports and domains
| What | Allow |
|---|---|
| HTTPS to the XplicitTrust services and the TCP relay | Outgoing TCP 443 to *.xplicittrust.com, excluded from SSL inspection, content filtering and IPS. |
| Direct connections and the UDP relay | Outgoing UDP 51820-60000 to any destination, excluded from IPS inspection and UDP flood protection, with an exception for WireGuard where application firewalls are in the path. |
The exact hostnames and addresses of your tenant are in the Admin Console under Settings › Network › Network requirements. The full list of requirements is on Requirements.
Verifying from the client
Two commands provided by the agent are useful regardless of the firewall vendor. They are the fastest way to confirm what the firewall on the path is doing to XplicitTrust traffic:
xtna-util -connectivity
Reports whether SSL termination is present on the XplicitTrust endpoints. If termination is detected, SSL/TLS deep inspection on the firewall is the cause.
xtna-util -status
Reports the active data path and the locally observed NAT type. A NAT type of Non-Collaborative NAT indicates that the firewall is rewriting the agent's UDP source port and is preventing direct peer-to-peer connections.
In the app, Diagnostics runs a comparable check. See the xtna-util reference for the full list of flags.
Vendor configuration
| Vendor | Page |
|---|---|
| FortiGate | FortiGate: settings for XplicitTrust |
| Sophos Firewall | Sophos Firewall: settings for XplicitTrust |
| SonicWall | SonicWall: settings for XplicitTrust |
| Check Point Quantum Spark | Check Point Quantum Spark: settings for XplicitTrust |
| pfSense | pfSense: settings for XplicitTrust |
Each page covers the same areas where they exist on that vendor: Application Control, DoS / UDP flood protection, TLS inspection, source port preservation and UDP port forwarding for direct connections. If the FortiGate also sits between a gateway asset and the networks behind it, Firewall Sync can maintain its rules for those destinations.
Verification
After applying the vendor-specific changes:
- Reconnect the XplicitTrust agent.
- Run
xtna-util -statusand confirm that the active data path is a direct connection (or the UDP relay where direct is not possible) and that the reported local NAT type is not Non-Collaborative NAT. - Run
xtna-util -connectivityand confirm that no SSL termination is reported on the XplicitTrust endpoints. - Generate sustained traffic through the tunnel (a large file transfer or an
iperf3UDP test is a good baseline). - Re-check the firewall logs. Neither the Application Control / Filter log nor the DoS / IPS log should contain block or flood entries for XplicitTrust traffic, and the agent should remain on the preferred path throughout.
- If issues persist, capture a brief packet trace on the firewall's WAN interface filtered on the agent source address and the XplicitTrust relay address, and forward it together with the firewall software version to XplicitTrust support.
Support
For questions or further assistance, contact XplicitTrust at support@xplicittrust.com.
See also
- Concept: Connection Paths and NAT
- Guide: Requirements, Logs and Diagnostics
- Reference: Network requirements, xtna-util, Firewall Sync