Manually block or allow specific IPs from Security Ninja → Firewall → IP Management. One Add IP rule dialog covers both blacklist and whitelist entries.
Blacklist an IP
- Go to Security Ninja → Firewall → IP Management.
- Click Add IP rule.
- Enter one IP address or CIDR range per line.
- Optionally add a Note (up to 150 characters). The same note applies to every line in that save.
- Select Blacklist.
- Click Save.
Blacklisted IPs are denied according to your firewall settings (full site block when Prevent banned IPs from accessing the site is on).
Whitelist an IP
Use the same dialog and select Whitelist before saving. Whitelisted IPs keep access even when the cloud list or a country rule would otherwise block them. Traffic may still appear in logs.
If the same IP is both blacklisted and whitelisted, whitelist wins so you do not lock yourself out.
Ranges and wrong IPs
- Block a network: Ban subnet / IP range.
- Bans or logs show a Cloudflare edge IP: fix Visitor IP detection on Firewall → Settings first.

