Block traffic from specific countries
This example custom rule blocks requests based on country code using the ip.src.country field.
-
When incoming requests match:
Field Operator Value Country is in Korea, North,SyriaIf you are using the expression editor:
(ip.src.country in {"KP" "SY"}) -
Then take action: Block