/go/blacklist blocks traffic from known bad sources before it reaches your websites. It uses two lists: It blocks them in two places: Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Block on the server firewall and on Cloudflare
/go/blacklist
This can take a long time. See Troubleshooting.
Arguments
| You type | What happens |
|---|---|
| Nothing | Blocks on the server firewall and on Cloudflare. |
local |
Blocks on the server firewall only. |
cloudflare |
Blocks on Cloudflare only. |
reset or remove |
Resets the whole server firewall with firewall reset. Cloudflare is not changed. |
| Anything else | Nothing is blocked, and nothing is printed. |
The check for goadmio folders applies to every mode except reset and remove.
Examples
# Server firewall and Cloudflare
/go/blacklist
# Server firewall only
/go/blacklist local
# Cloudflare only
/go/blacklist cloudflare
# Reset the server firewall to GoAdmio's defaults
/go/blacklist reset
# On AlmaLinux, Rocky, CentOS, Red Hat, Fedora: activate the new rules
sudo firewall-cmd --reload
# Let an address through again
/go/unblock 203.0.113.5
Output
Server firewall:
Blocking DDoS Protection (2500 IPs)...
[1/2500] Blocking IPv4 203.0.113.5
[2/2500] Blocking IPv6 2001:db8::1
...
Blocking Datacenter (2500 IPs)...
[1/2500] Blocking IPv4 198.51.100.0/24
...
Cloudflare, one line for each hosted domain:
[1/3] Bulk Blocking [example.com]...
The responses from Cloudflare are thrown away, so errors are not shown. Check the rules in the Cloudflare dashboard to confirm. The counts say "IPs", but the datacenter list holds network ranges.
See the full reference at /go/blacklist and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
