FortiClient IPsec Over TCP: What It Is and How to Configure It

Learn when FortiClient IPsec over TCP helps, how to configure both ends, and how to troubleshoot common connection problems.
FortiClient IPsec over TCP lets an IPsec VPN tunnel use a TCP connection as its transport, which can help when a network blocks or disrupts the UDP traffic commonly used by IPsec. To make it work, enable the relevant IPsec-over-TCP option on the FortiGate VPN configuration and select matching settings in FortiClient. The exact menu names and availability can vary by FortiOS and FortiClient version, so check the documentation for your installed releases.
Editor's pick: NordVPN — fast, secure VPN — Strong encryption, a no-logs policy and apps for every device. 30-day money-back guarantee. Get NordVPN →
Compare VPN transport options
| Option | Transport | NAT or firewall traversal | Performance impact | Best fit |
|---|---|---|---|---|
| IPsec over UDP | UDP | May be blocked by restrictive networks | Usually lower overhead | Networks that allow IPsec traffic |
| IPsec over TCP | TCP | Can work through networks that block UDP-based IPsec | May add overhead or latency | Restrictive networks where UDP IPsec fails |
| SSL VPN | TLS over TCP | Often works through standard web-oriented firewall rules | Depends on configuration and network conditions | Remote access where SSL VPN is available |
| Direct connection | Native IPsec transport | Requires compatible network access | Avoids TCP-over-TCP effects | Unrestricted networks |
| TCP fallback | TCP after UDP failure | Can preserve access when UDP is unavailable | May be slower than UDP | Users needing a fallback path |
Compiled November 2026; check the provider's site for current details.
What IPsec over TCP does
A typical IPsec VPN uses UDP for IKE negotiation and ESP for encrypted tunnel traffic. Some public Wi-Fi networks, restrictive firewalls, or upstream devices interfere with these packets. IPsec over TCP encapsulates the VPN traffic in a TCP connection, which may be allowed through those networks.
This is a transport workaround, not a different encryption method. IPsec still provides the VPN’s security; TCP carries the tunnel traffic through the network. The connection still depends on compatible settings at both ends and on the TCP port being reachable.
TCP port 443 is often used because networks commonly allow it for HTTPS, but it is not inherently required. The administrator chooses or confirms the port supported by the FortiGate configuration. A port conflict or an upstream firewall rule can prevent the VPN from connecting.
When to use it
Try IPsec over TCP when a standard IPsec connection works on some networks but fails on another, especially when the affected network restricts UDP traffic. It may also be useful when a user needs to connect from a network where conventional IPsec is not permitted. V2Ray for iOS: How to Choose, Set Up, and Use a Client
It is not a universal replacement for the default transport. TCP can add overhead, and carrying TCP-based application traffic inside a TCP-based VPN can sometimes cause performance problems under packet loss or congestion. If standard IPsec works reliably, there may be no reason to change it.
| Option | Transport behavior | Best suited to |
|---|---|---|
| Standard IPsec | Uses the usual IPsec and IKE transport, commonly over UDP | Networks that allow normal IPsec traffic |
| IPsec over TCP | Carries IPsec traffic inside a TCP connection on a configured port | Networks that block or disrupt standard IPsec traffic |
FortiClient IPsec over TCP configuration checklist
| Step | FortiGate | FortiClient | Check |
|---|---|---|---|
| Confirm support | Verify the FortiGate supports the feature | Verify the client version supports it | Both endpoints support TCP transport |
| Configure the tunnel | Enable IPsec over TCP for the remote-access setup | Select the matching IPsec connection type | Transport settings match |
| Set the TCP port | Configure the listening port | Enter the same port | Port is permitted end to end |
| Allow network traffic | Permit the configured port through firewall rules | Connect from the intended network | No intermediary blocks the connection |
| Match authentication | Configure compatible authentication and credentials | Use the assigned credentials and certificates | Authentication settings agree |
| Match proposals | Set compatible encryption and integrity proposals | Use compatible tunnel settings | Negotiation succeeds |
| Test connectivity | Confirm the service is listening | Connect and verify tunnel status | Traffic reaches intended resources |
Compiled November 2026; check the provider's site for current details.
Configure FortiGate and FortiClient
First, confirm that your FortiGate model, FortiOS release, FortiClient edition, and FortiClient version support IPsec over TCP. Feature support and configuration labels can differ between releases. If the setting is missing, consult the release-specific Fortinet documentation or ask your VPN administrator. Do not assume a similarly named option is equivalent. Clash Verge on iPhone: What Works and What to Use Instead
On the FortiGate
The administrator should review the relevant IPsec VPN configuration and enable its TCP transport option, where supported. Set the TCP port and confirm that the FortiGate can accept connections on it. If a firewall or other network device sits in front of the FortiGate, allow traffic to that port as well.
Keep the rest of the VPN configuration consistent with the organization’s established setup. This includes authentication, certificates or pre-shared keys, encryption proposals, user access, and routing. Changing several settings at once makes connection failures harder to diagnose.
In FortiClient
Create or edit the IPsec VPN connection using the parameters supplied by the administrator. Enable the option for IPsec over TCP, if available, and enter the same TCP port configured on the FortiGate. Verify the gateway address, authentication method, credentials, and other required VPN settings.
After saving, connect from a network where the standard tunnel has failed. If the profile is managed centrally, local changes may be disabled or overwritten. Request an updated profile from the VPN administrator instead. Clash Verge for iOS: Is It Available, and What Can You Use Instead?
Troubleshoot common problems
If the VPN does not connect, compare the client and gateway settings before changing security options. Check these items first:
- The FortiGate and FortiClient versions support the feature.
- IPsec over TCP is enabled at both ends.
- The TCP port matches exactly and is reachable from the client’s network.
- The VPN gateway address and authentication details are correct.
- The FortiGate is listening on the expected interface and port.
- Local or upstream firewalls are not blocking the connection.
A timeout often points to a reachability problem, such as a blocked port, incorrect destination, or missing listener. An authentication or negotiation error may instead indicate mismatched credentials, proposals, certificates, or VPN settings. Review FortiClient logs and FortiGate VPN event logs for the specific failure rather than relying on a generic “connection failed” message.
Also test from a different network, such as a trusted mobile hotspot, if company policy permits. If the VPN connects there but not on the original network, the original network may be filtering the selected TCP port or VPN traffic. Do not switch to port 443 blindly: another service may already use it, and the FortiGate must be configured to accept the VPN connection on that port.
Troubleshoot and choose a connection approach Why Sites Are Blocked When Using a VPN, and How to Fix It
| Symptom or need | Likely area to check | Useful action | Consider TCP over IPsec when |
|---|---|---|---|
| UDP-based tunnel cannot connect | Network blocks or filters UDP | Test from another network | UDP access is restricted |
| TCP connection times out | Port, routing, or firewall policy | Confirm the configured port is reachable | A permitted TCP path exists |
| Authentication fails | Credentials, certificates, or policy | Compare client and gateway authentication settings | Not a transport-related fix |
| Tunnel negotiation fails | Mismatched proposals or configuration | Verify compatible IPsec settings at both ends | Transport settings already match |
| Tunnel connects but apps fail | Routes, DNS, or access policies | Check assigned routes and firewall rules | Not a transport-related fix |
| Connection is slow | Latency, congestion, or TCP-over-TCP behavior | Compare performance on an allowed UDP path | Connectivity matters more than speed |
| Security is a concern | Encryption, authentication, and endpoint policy | Use approved cryptographic settings and secure credentials | TCP transport is needed without weakening IPsec |
| UDP works reliably | No restrictive network issue | Prefer the simpler working transport | There is no need for TCP fallback |
Compiled November 2026; check the provider's site for current details.
Performance and security considerations
TCP encapsulation can make a tunnel possible on restrictive networks, but it may not improve speed or reliability in every case. If applications become sluggish, compare performance with standard IPsec on a network that allows it. Network congestion, packet loss, and the extra encapsulation can all affect the result.
Use only administrator-approved VPN profiles and ports. Keep FortiGate and FortiClient updated, retain the organization’s required authentication and encryption settings, and avoid exposing management services while opening a port for VPN access. IPsec over TCP changes how the traffic is carried. It should not be treated as a reason to weaken the VPN’s security controls.
Recommendation
Use FortiClient IPsec over TCP when standard IPsec is blocked or unreliable and both the FortiGate and client support the feature. Have the VPN administrator configure the gateway and port, then match those settings in FortiClient. If the connection still fails, check logs and network reachability before changing authentication or encryption settings. Axgate VPN Download: How to Find and Install the Right Client
