Skip to main content
Noot
New Member
October 2, 2013
Question

View blocked connection attempts

  • October 2, 2013
  • 2 replies
  • 27057 views
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!

    2 replies

    dlya
    New Member
    October 21, 2013
    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
    October 21, 2013
    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.