Technical Tip: Updating FortiMail FortiGuard services using SQUID web proxy
| Description | This article describes how to update FortiMail FortiGuard AntiSpam and Antivirus licenses through a SQUID web proxy. |
| Scope | All supported versions of FortiMail. |
| Solution | From v7.4.0, FortiGuard antispam queries will be supported by using a web proxy. Before v7.4.0, only licensing and FortiGuard Antivirus queries can be updated through proxy.
config system fortiguard antivirus set tunneling-status enable set tunneling-address <SQUID_PROXY_IP> set tunneling-port <SQUID_PROXY_PORT> end
Replace <SQUID_PROXY_IP> with the IP address of a used SQUID proxy server and <SQUID_PROXY_PORT> with the appropriate port number.
CLI Command example:
config system fortiguard antivirus set tunneling-status enable set tunneling-address 10.5.29.211 set tunneling-port 3128 end
Optionally, for enhanced security, include a tunneling username and password.
diagnose debug application updated 7 diagnose debug enable execute update now
$sudo tail -f /var/log/squid/access.log
fds1.fortinet.com service.fortiguard.net
Note: After completion, disable debugging from the FortiMail CLI with the following command:
diagnose debug disable
Note:
in Firmware version 7.x.x and 8.x.x, the command should be:
diagnose debug application updated enable diagnose debug enable execute update now |


