FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Description This article describes how to block TOR traffic from the WAN to the LAN, by using the ISDB object. This ISDB object contains a list of all TOR exit nodes currently known and is updated by FortiGuard.
Solution Go to Policy & Objects -> IPV4 Policy and select 'Create New'. Incoming interface: WAN. Outgoing interface: LAN.
Go to Source -> Internet Service, search for 'Tor' and select 'Tor-Exit node'.
When creating the policy is finished, place it as high in the policy list. Since policy lookup is done from top to bottom, place this policy as high as possible to prevent traffic coming from TOR to run through all the other policies above it.
Application Control can be used as well:
Blocking Tor traffic using the Application Control profile
Go to Security Profiles -> Application Control and edit the App control profile.
Under Application Overrides, select Add Signatures.
Search for Tor, then filter the results to show only the Proxy category. Two signatures will appear one for the Tor client, one for web-based Tor2web & TorGuard.
Highlight both signatures, and select Use Selected Signatures.
Both signatures now appear in the Application Overrides list, with the Action set to Block.