FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
jcastellanos
Staff
Staff
Article Id 309679
Description This article describes how to diagnose a random scenario where the VPN IPsec cannot come up cause the ports 500, and 4500 were assigned to another process different from the iked.
Scope FortiGate v6.4.x.
Solution

Run an ike debug but not display information:

 

diagnose debug application ike -1
diagnose debug enable

 

4-debug not showing information.png


Try to reboot the iked process, the issue is not fixed, a message mentioning that port 4500 is used can appear:

 

1-reboot of the process.png


Run the command and see if port 4500 is used by another service:

 

diagnose sys udpsock

 

2-imagen del hasync.png


Possible workarounds:

  • Make a failover of the slave in case you are in HA topology.
  • Reboot the FortiGate with the issue.


The UDP ports 500 and 4500 are assigned to iked process when VPN IPsec is not under this scenario.

 

3-iked running correctly.png