Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the copy-the-code domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
Block Free Proxy and Tor IP Addresses with CSF Firewall - PC✗3
Block Free Proxy and Tor IP Addresses with CSF Firewall

Block Free Proxy and Tor IP Addresses with CSF Firewall

To block Block Free Proxy and Tor IP Addresses with CSF Firewall edit:

nano /etc/csf/csf.blocklists

and add:

# Name: XROXY
# Information: Open proxies (this list is composed using an RSS feed)
XROXY|86400|0|http://www.xroxy.com/proxyrss.xml

# Name: PROXYLISTS
# Information: Open proxies (this list is composed using an RSS feed)
PROXYLISTS|86400|0|http://www.proxylists.net/proxylists.xml

# Name: BI_PROXY_2_30D
# Information: Bad IPs in category proxy with score above 2 and age less than 30d
BI_PROXY_2_30D|172800|0|https://www.badips.com/get/list/proxy/2?age=30d

# Name: TOR Exit nodes
# Information: Blocks known TOR exit notes
TOR|86400|0|https://www.dan.me.uk/torlist/

then restart CSF and LFD services:

csf -r
systemctl restart lfd

then check if IP addresses are blocked:

iptables -L -n
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.