Ubiquiti Dream Machine (UDM) blocking Tor traffic

I am using Ubiquiti Dream Machine (UDM) router with Intrusion Prevention System (IPS) enabled. Tor traffic is blocked by default.

My Trezor Suite is set up with Tor enabled and UDM blocks all Tor traffic. In the UDM it is possible to configure Traffic Rules and Firewall Rules.

How can I setup custom firewall rules for the Trezor Tor network? Any ideas on how to solve this?