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

Sniffer

Anybody know how to sniff with the FortiGate for a whole subnet? I want to see all traffic to a specific external subnet. example: diagnose sniffer packet external ' dst 192.168.12.0/24' 6 spits out an error: pcap_compile: Mask syntax for networks only
-TJ
-TJ
2 REPLIES 2
emnoc
Esteemed Contributor III

try dst net instead. Any standard tcpdump expresion should work e.g FWF50B3G08501299 # diag sniffer packet any " dst net 216.82.78" interfaces=[any] filters=[dst net 216.82.78]

PCNSE 

NSE 

StrongSwan  

PCNSE NSE StrongSwan
TopJimmy
New Contributor

I should have known that. thanks!
-TJ
-TJ
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