Exact Extract — FortiOS 8.0.0 Administration Guide
Section: Tunneling Protocol and Encapsulation, page 2993
When ESP is used without encapsulation, it connects directly over IP Protocol 50.
Section: Performing a Sniffer Trace or Packet Capture, pages 5315–5316
diagnose sniffer packet < interface_name > < ' filter ' > < verbose > < count > < tsformat >
Technical Deep Dive
ESP is the IPsec protocol responsible for protecting VPN data traffic through encryption, integrity verification, and anti-replay mechanisms.
In this scenario, NAT is not present between the VPN peers. Therefore, native ESP packets can traverse the network using IP protocol number 50.
Option A is correct because the BPF expression proto 50 matches packets using IP protocol 50. The verbosity level 2 displays packet headers and additional related information.
Option C is correct because esp is a valid packet-capture filter expression identifying Encapsulating Security Payload traffic. Verbosity level 5 provides more detailed packet information, including packet contents in hexadecimal format.
Option B is incorrect because UDP port 500 is normally used for IKE negotiation, not native ESP data packets.
Option D is incorrect for the specified topology because UDP port 4500 is associated primarily with IPsec NAT traversal. With native ESP and no NAT traversal, the encapsulated data packets use IP protocol 50 rather than UDP port 4500.
The important distinction is between the IKE control plane and the IPsec ESP data plane . Capturing UDP 500 shows negotiation traffic, whereas proto 50 or esp filters capture native encrypted payload packets.
On hardware-accelerated FortiGate models, NPU offloading can limit sniffer visibility and may require additional diagnostics. Fortinet ' s packet-capture guidance confirms both ESP filter expressions.