Xenforo 2.1.x Tutorial Registration Country Ban via Cloudflare

Yondu

Staff member
Global Moderator
Joined
Aug 10, 2019
Messages
229
Reaction score
71
Points
30
Age
20
Location
Belgium
Visit: Cloudflare | Web Performance & Security
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:
You don't have permission to view the code content.
Then…: Block
Hit Deploy, done.

1567875337304.png