Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Not applicable

error Invalid ESP packet detected (HMAC validation failed).

hello, I configured a VPN on a f310b (worm Fortigate-310B 3.00-b5408 (MR7) opposite, it is F5000. by moment, I have this message of error in the logs (Invalid ESP packet detected (HMAC validation failed). somebody among you already this error? ps: forgive my bad English thank you
6 REPLIES 6
Not applicable

can you provide further information? seems to me that it is an encryption error... have you double checked the settings on the FortiGates? Do they both use the same encryption method?
Not applicable

the method used is the encryption 3DES and authentification MD5 the pre-shared key is identical. They are configured in mode Main (ID Protection) Best regard
fsbadmin1
New Contributor

I had this happen recently on a new FG-60B. Support said sounded like corrupt firmware or a hardware issue. I reinstalled firmware using TFTP server to get a totally fresh OS, but that did not remedy. I RMA' d the unit after that, no explanation from support. Just got my new unit today, minus all the accessories that I was instructed to return with the original unit. Support just now claimed I was told NOT to include these things. I sent them the email instructing me to return them. So now im waiting on a power supply. if you RMA your unit, i suggest holding all accesoris, you can always return them later if your replacement does contain them. I would get ahold of support and get the RMA ball rolling now....I screwed around trying to figure it out myself for a few weeks, I found nothing at all...other than what has been mentioned here, confirming settings match etc. I would love to know what this problem is however! I hate not being able to figure things out. Frustrating. good luck.
Not applicable

what have you tried to solve this issue by now? Have you run a sniffer, to see if the packets are entering the VPN tunnel? If so, have you had a look at the flow through the unit? If not, you can do so with: - diagnose debug enable - diagnose debug flow filter addr ' external gateway IP' - diagnose debug flow show console enable - diagnose debug trace start xxx (where xxx is the number of messages you want to trace) I highly recommend doing this if you have any problems with VPN Tunnels, routing or other traffic not going where it' s supposed to. This makes it a lot easier to find & solve problems. regards
fsbadmin1
New Contributor

when i was getting this error, my VPN tunnel was up, traffic was passing normally. the unit i sent back for RMA would lock up at seemingly random times, and require a power cycle to recover. this started out as once a day, and eventually several times a day. that is the error i had logged on both ends of the VPN, the FG-60B (rma' d) and the FG-60. when it locked up, it could not be accessed by any interface, nor pinged....but on the other end of the VPN the FG-60' s sessions still showed open sessions, although no traffic was passing thru. *note on the accessories i sent in that were not returned with new unit....support said the CSR who handled my RMA made an error instructing me to return the accessories and they are shipping me replacements. very quick solution to this by ForitNet' s support, thanks!
Not applicable

hello and thank you for your councils. apparently, I receive spoofing on the interface network of my VPN. this would explain that. Good day
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors