Skip to main content
rmetzger
Staff
Staff
January 29, 2010

Technical Note : Configuring FortiGate Protocol Recognition to scan traffic on non-standard port - FortiOS 4.0 and above

  • January 29, 2010
  • 0 replies
  • 8560 views

Description
When performing content inspection (Anti-Virus, URL or email filtering...), the FortiGate scans traffic on protocol port numbers defined in a protection profile.  The default values for the TCP ports to scan are :

   
   
HTTP
HTTPS
SMTP
POP3
IMAP
NNTP
FTP
80
443
25
110
143
119
21


Other non-standard port numbers can be added for each protocol.

Solution
To add non-standard port in FortiOS v3.0, please check KB article 10965 - Performing antivirus scanning non-standard TCP ports

This is a CLI example to add TCP port 8080 for HTTP, in FortiOS 4.0 and above :

config firewall profile
    edit "a_protection_profile"
            config app-recognition
                edit "http"
                    set port 8080
                next
            end
    next
end


Note about HTTPS : If your FortiGate unit supports SSL content scanning and inspection, you must set HTTPS Content Filtering Mode to "Deep Scan" before you can configure additional HTTPS ports. Please refer to KB article FD31710 Technical Note : HTTPS Web URL Filtering or blocking to see if your FortiGate supports SSL inspection.

Related Articles

Performing antivirus scanning non-standard TCP ports

Technical Note: FortiGate HTTPS web URL filtering and HTTPS FortiGuard web filtering

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!