FortiOS has built in tools for debugging your firewall rules by tracking packets as they travel through your Firewall, seeing what drops them, and every detail.
Active Sessions
Log Into your Fortigate.
Go to the DASHBOARD tab on the left hand side and down to FORTIVIEW SESSIONS

From here you should see a listing of the current sessions, their ports information and traffic data.
Logging
You can set rules to log their transactions to be viewed later. By default these are in the on, but only set to log security events.
Note
Full logging should only be enabled to test and view transactions, having these on and for many rules could lead to performance issues or limited logging.
Editing a Rule
If you have an existing rule, you can enable with this info.
Go to POLICY & OBJECTS then FIREWALL POLICY and find your rule.
From the line, go across to the LOG column and click the edit icon next to the current setting (in this case its UTM).

3. From the Dropdown, select ALL. (if UTM or DISABLED)
Then click APPLY.
To Disable the logging, set back to UTM (security events only) or Disabled.
Viewing the Logs
Go to LOG & REPORT and then FORWARD TRAFFIC
.png?sv=2026-02-06&spr=https&st=2026-08-25T22%3A55%3A01Z&se=2026-08-25T23%3A06%3A01Z&sr=c&sp=r&sig=57TFTvVQuC0rTx3CFkZIkmrIpBWa94BRWD1ZqAkwIaE%3D)
From here you can view the logged information.