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

View blocked connection attempts

Sorry this is probably an easy answer by I’m just getting my feet wet with the Fortigate devices (60’s & 80’s) I’m trying to view the actual blocked connection attempts coming into our wan1 (external) interface – just basic blocked connections where there’s no policy setup to allow the connection attempt through. We’ve got a couple services setup for our roaming users out there and their IP’s change every once in a while. I need to see these connection attempts being blocked once their public IP’s change – not quite sure how to do that on the Fortigate 80 though. I’m assuming command line and maybe a debug, but I’m not finding it in any manual or google search. Thanks for any info!
yo
yo
2 REPLIES 2
dlya
New Contributor

Take a sniffer trace as per the following examples when running a constant ping (or TCP connection) from PC1 to PC2. This will answer the following questions: - Is traffic arriving to the FortiGate and does it arrive on the expected port? - Is the ARP resolution correct for the targeted next-hop? - Is the traffic exiting the FortiGate to the destination? - Is the traffic sent back to the source? FGT# diagnose sniffer packet any " host <PC1> or host <PC2>" 4 or FGT# diagnose sniffer packet any " (host <PC1> or host <PC2>) and icmp" 4 Including the ARP protocol in the filter may be useful to troubleshoot a failure in the ARP resolution (for instance PC2 may be down and not responding to the FortiGate ARP requests) FGT# diagnose sniffer packet any " host <PC1> or host <PC2> or arp" 4 To stop the sniffer, type CTRL+C. With verbosity 4 above, the sniffer trace will display the port names where traffic ingresses/egresses.
ede_pfau
SuperUser
SuperUser

You can enable ' extended logging' in the CLI. The main section is ' config log memory settings' . For details see the CLI Guide for your FortiOS version.
Ede Kernel panic: Aiee, killing interrupt handler!
Ede Kernel panic: Aiee, killing interrupt handler!
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