Skip to main content
New Member
June 20, 2026
Question

Forticlient IPsec VPN - How to configure

  • June 20, 2026
  • 3 replies
  • 223 views

FortiGate 90G (FortiOS 7.4.12) - FortiClient IPsec VPN (7.4.3) Times Out, No UDP 500/4500 Traffic Seen

I am configuring a remote-access IPsec VPN using the FortiClient Dialup VPN Wizard on a FortiGate 90G running FortiOS 7.4.12.

Environment:

  • WAN Interface (x1): 184.180.43.35/28

  • Gateway: 184.180.43.33

  • Dynamic DNS/FQDN: vpn2.dhansol.com

  • FortiClient VPN Version: 7.4.3.4726

  • Testing from home Internet (external network)

VPN Configuration:

  • IKE Version 1

  • Aggressive Mode

  • XAuth enabled

  • User Group: VPN_ONSITE_USERS

  • Client IP Pool: 10.10.70.10 - 10.10.70.99

  • Split Tunnel enabled

  • VPN Policy created by wizard:

    • Source Interface: DHN-ONSITE

    • Destination Interface: VPN_VLAN50

    • Destination Subnet: 10.10.50.0/24

Phase1 Configuration:

  • type dynamic

  • interface x1

  • mode aggressive

  • mode-cfg enable

  • xauthtype auto

  • authusrgrp VPN_ONSITE_USERS

Verification Performed:

  1. WAN connectivity verified.

  2. FortiGate can ping Internet.

  3. vpn2.dhansol.com resolves correctly to 184.180.43.35.

  4. Public IP responds to ping from external network.

  5. Tunnel object exists:
    diagnose vpn tunnel list

    name=DHN-ONSITE
    status=up
    mode=dialup

  6. User group exists and contains the VPN users.

Problem:
FortiClient returns:

"Timeout while connecting to vpn2.dhansol.com"

The most interesting finding is:

diagnose sniffer packet x1 "udp port 500 or udp port 4500" 4 0 a

shows:

0 packets received by filter

while connection attempts are being made.

No IKE debug messages appear and:

diagnose vpn ike gateway list

returns no active gateways.

Question:
If FortiClient 7.4.3 is configured for IKEv1/Aggressive Mode with PSK and XAuth, what would cause the FortiGate to see zero UDP 500/4500 traffic during connection attempts? Are there any known FortiClient 7.4.x interoperability issues with FortiOS 7.4.12 dialup IPsec VPNs or additional settings required on FortiGate 90G?

    3 replies

    funkylicious
    SuperUser
    SuperUser
    June 20, 2026

    hi,

    if no traffic is observed on UDP/500 , UDP/4500 most likely somewhere along the way this is blocked and has nothing to do with the config of the IPsec on the FortiClient

    has this setup worked before?

    "jack of all trades, master of none"
    christian_89_
    Explorer II
    June 20, 2026

    The zero packets on x1 is the answer, and it points you away from where you are looking. If the FortiGate sniffer sees nothing on UDP 500 and 4500 during connection attempts, the IKE never reaches the FortiGate at all. That means this is not a phase1 config problem and not a FortiClient to FortiOS interop bug. An interop or negotiation issue would show packets arriving and then failing, not zero packets. So you can stop checking phase1, mode-cfg, XAuth and 7.4.12 known issues, none of that matters until packets actually arrive. The job now is to find where in the path the IKE dies.

    One thing the sniffer result already rules out: it is not a local-in policy or anything on the FortiGate dropping it, because the sniffer captures before local-in policy. The packets are simply not getting to x1.

    The fastest way to split the problem is to capture on the client. Run Wireshark on the home PC, filter udp.port==500, and start a connection attempt. There are only two outcomes:

    The client sends nothing, or sends to the wrong IP. Then it is client side. Check that vpn2.dhansol.com resolves to 184.180.43.35 from the home PC itself, not just from the FortiGate, since a stale or different client DNS answer sends the IKE to the wrong address. Confirm the FortiClient entry is an IPsec VPN and the remote gateway is correct, and that no local firewall, AV or Windows policy is blocking FortiClient's outbound IKE.

    The client sends IKE to 184.180.43.35 but the FortiGate still sees zero. Then the path between them is dropping UDP 500 and 4500, and you localise it like this:

    Test from a completely different external network, for example a phone hotspot. If it works from the hotspot, your home network or home ISP is blocking outbound IKE, which is common on some home and CGNAT connections. If it is still zero from the hotspot too, then the block is on the FortiGate side of the path, meaning your upstream ISP is filtering inbound UDP 500 and 4500 to 184.180.43.35, even though ICMP to that IP passes. ICMP passing does not prove UDP 500 passes, they are treated independently.

    While testing, widen the FortiGate capture so you do not miss anything: diagnose sniffer packet any "host <client-public-IP>" 4 0 a during a connection attempt. That catches the traffic even if it lands on a different interface than you expect or on a non-standard port, and it confirms beyond doubt whether anything from that client reaches the box.

    To answer your direct question plainly: there is no FortiClient 7.4.x to FortiOS 7.4.12 dialup interop issue that produces zero packets, because an interop issue requires packets to arrive first. This is pure reachability. The client capture plus the hotspot test will tell you within a few minutes whether the drop is on the client, the client ISP, or your own ISP, and that is where the fix is, not on the FortiGate.

    CFR_
    sjoshi
    Staff
    Staff
    June 20, 2026

    since you are not receiving any packet on the FortiGate there could be issue with udp 500 packet on the user ISP side.

    Take a pcap on user machine (wireshark) and on FGT and take the capture simultaneously on both sides. If you see udp 500 packet being sent from the user machine and not receiving on the fortigate, it could be issue on the pathway (ISP).

    Thanks, Salon