How to Find the IP Blocked by the Firewall in WHM?

ccw

Registered
Apr 20, 2019
2
0
1
China
cPanel Access Level
Root Administrator
Hi,

If an IP is blocked by the firewall on the server. How can I know the specific IP address being blocked in the web-based WHM system?

Thanks
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,542
207
343
Chesapeake, VA
cPanel Access Level
DataCenter Provider
No indication what firewall it is?

In shell you can run

iptables --list --numeric |grep DROP

And that should give you a list of blocked ips regardless of which control software is running.
 

RoseHosting

Member
PartnerNOC
Jan 3, 2003
8
1
153
You can run this command:

iptables -nvL | grep 1.2.3.4

Replace 1.2.3.4 with the actual IP address you want to find.