Skip to main content
amorales
New Member
March 18, 2021
Question

Cannot see incoming ESP packets with a packet capture.

  • March 18, 2021
  • 7 replies
  • 8174 views

Hi, I am not able to see any incoming ESP packet when running a packet capture in FortiGate. The tunnel is UP and running, everything is working find, but if I check the traffic, I just can see outgoing ESP packets but not incoming ones. I have a lot of FortiGates devices and same happens in all of them. Am I missing something? Thanks?

    7 replies

    emnoc
    New Member
    March 18, 2021

    Yes, are you specifying the right interface ? If you do the following 

     

    diag sniffer packet any "src host x.x.x.x and proto 50"  where x.x.x.x is the remote-gateway ?

     

    And lastly confirm the exact remote-gw ipv4 address is correct.

     

    Ken Felix

    Toshi_Esumi
    SuperUser
    SuperUser
    March 18, 2021

    Or, are you sure it's not encapsulated in UDP 4500 because of NAT traversal? Just sniff everything against the remote-gw IP first.

    amorales
    amoralesAuthor
    New Member
    March 18, 2021

    I have found the reason, it was due to acceleration. After disabling the acceleration in the phase1-Interface, I can see now traffic flowing in both directions. 

     

    config vpn ipsec phase1/phase1-interface   edit "vpn_name"     set npu-offload enable/disable   next end

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT