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.
acvaldez
Staff
Staff
Article Id 241377
Description This article describes how to capture a range of ports using diagnose sniffer.
Scope FortiGate
Solution

Used case:

- Is possible to use a sniffer using port-range, when a packet capture is done for VOIP RTP ports because usually voice provider RTP ports comes into range.

So when packet analysis is done, it is possible to use port-range on the sniffer. 

 

Steps:

 

- Access to the  FortiGate via SSH or via built-in CLI.

- Then run this command: 

 

# diagnose sniffer packet any 'portrange 1000-3000' 6 0 a

 

Output: 

 

acvaldez_0-1672439768619.png

 

- On this sniffer, port ranges are captured from 1000 to 3000.