You can use pfblocker and Snort, but blocking at the firewall level is not that effective for security here in 2024.