Allow only cloudflare IPS

Hi i’m trying to block all incoming IPS rathen than cloudflare but it doesn’t works

ConfigServer Security & Firewall - csf v14.16

Firewall Status: Enabled and Running

Edit csf.allow, the IP address allow file (Currently: 17 permanent IP allows)

Summary

###############################################################################

Copyright 2006-2018, Way to the Web Limited

URL: http://www.configserver.com

Email: sales@waytotheweb.com

###############################################################################

The following IP addresses will be allowed through iptables.

One IP address per line.

CIDR addressing allowed with a quaded IP (e.g. 192.168.254.0/24).

Only list IP addresses, not domain names (they will be ignored)

Advanced port+ip filtering allowed with the following format

tcp/udp|in/out|s/d=port|s/d=ip

See readme.txt for more information

Note: IP addressess listed in this file will NOT be ignored by lfd, so they

can still be blocked. If you do not want lfd to block an IP address you must

add it to csf.ignore

173.245.48.0/20
103.21.244.0/22
103.22.200.0/22
103.31.4.0/22
141.101.64.0/18
108.162.192.0/18
190.93.240.0/20
188.114.96.0/20
197.234.240.0/22
198.41.128.0/17
162.158.0.0/15
104.16.0.0/13
104.24.0.0/14
172.64.0.0/13
131.0.72.0/22

Edit csf.deny, the IP address deny file (Currently: 6 permanent IP bans)

Summary

###############################################################################

Copyright 2006-2018, Way to the Web Limited

URL: http://www.configserver.com

Email: sales@waytotheweb.com

###############################################################################

The following IP addresses will be blocked in iptables

One IP address per line

CIDR addressing allowed with a quaded IP (e.g. 192.168.254.0/24)

Only list IP addresses, not domain names (they will be ignored)

Note: If you add the text “do not delete” to the comments of an entry then

DENY_IP_LIMIT will ignore those entries and not remove them

Advanced port+ip filtering allowed with the following format

tcp/udp|in/out|s/d=port,port,…|s/d=ip

See readme.txt for more information regarding advanced port filtering

0.0.0.0/0

What i’m doing wrong?

Did you restart csf after that?

Many times

There is no one to answer my question?