Skip to main content
Esteemed Contributor III
Dec 27, 2009 7:18 PM UTC
Question

Monitor attempted connections to VIP

I am relatively new to the Fortigate units and am trying to troubleshoot a connection problem to a virtual IP. I am trying to find out how to log all attempted connections so that I can see if the person having the problem is even making it to the address. I have a syslog server set up and it is I have the policy set to log and it is logging successful connections, but not attempted connections (for example if someone attempted to connect with a protocol not allowed by the policy). I have looked at the manuals and postings but haven' t seen how to do this. Sorry for such a basic question...

    2 replies

    abelio
    SuperUser
    SuperUser
    Dec 28, 2009 2:41 PM UTC
    Hello and welcome, try using a new firewall policy with same src/dst but with ' deny' action and log it; obviously put this firewall policy at the end of your firewall policies list with similar src/dst. regards,
    IPMAN
    New Member
    Feb 9, 2010 7:30 AM UTC
    Abel' s suggestion works very well. You can also use the packet sniffer from the CLI to see realtime connection attempts. Something like: diagnose sniffer packet wan1 ' host xxx.xxx.xxx.xxx' where wan1 is your external port and xxx.xxx.xxx.xxx is your VIP
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024