Your XenForo Domain > Firewall Menu > Firewall Rules > Create a Firewall rule
Rule name: Registration Country Ban
Expression Preview > Edit expression
Modify the country codes/domain:
Code:
ip.geoip.country in {"BD" "BR" "CN" "KP" "KR" "PK" "RU" "UA" "VN" "TH" "IR" "BG" "DE"} and http.request.full_uri contains "https://domain.com/register/"
Then: Block
Hit Deploy, done.
![[Image: yWy5gxM.png]](https://i.imgur.com/yWy5gxM.png)