To block Block Free Proxy and Tor IP Addresses with CSF Firewall edit:
nano /etc/csf/csf.blocklists
and add:
# Name: PROXYSPY
# Information: Open proxies (updated hourly)
PROXYSPY|86400|0|http://txt.proxyspy.net/proxy.txt
# 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