Hi and welcome to Digi forum!
In order to block some specific traffic / sources, you would need to use the firewall. Please see the following guide that can be helpful in this case:
If any further help is needed for this, please send us an email to firstname.lastname@example.org and also review Support options here: https://www.digi.com/support
Digi Technical Support