Hi.
I have this issue with CSF that I have added the cloudflare IPV4 ip's to the allow list and also csf.ignore but it still blocks cloudflare and I can't access websites while the csf is activated!
let say this (108.162.225.114) which blongs to cloudflare! the whole block is whitelisted in both allowed ips and ignore file!
I tried to lookup this ip in the blocked list 108.162.225.114, but it's not in the block list either! when I disable CSF it works fine! or when I flush the whole blocked ip's it also works!
whats the workaround for this? anybody with same issue?
tq in advance
cloudflare ip's are being blocked while they are whitelisted
-
- Junior Member
- Posts: 10
- Joined: 10 Jan 2008, 18:17
-
- Junior Member
- Posts: 4
- Joined: 08 Sep 2014, 11:57
Re: cloudflare ip's are being blocked while they are whiteli
Hello
Read this carefully
https://support.cloudflare .com/hc/en-us/articles/200169296-How-do-I-whitelist-CloudFlare-s-IPs-in-htaccess-
*Remove space after cloudflare
Please note: These ips should also be whitlelisted in
/etc/csf.allow
and /etc/csf.ignore.
If this help you please help me in this topic
http://forum.configserver .com/viewtopic.php?f=6&t=8094
*Remove space after configserver
Read this carefully
https://support.cloudflare .com/hc/en-us/articles/200169296-How-do-I-whitelist-CloudFlare-s-IPs-in-htaccess-
*Remove space after cloudflare
Please note: These ips should also be whitlelisted in
/etc/csf.allow
and /etc/csf.ignore.
If this help you please help me in this topic
http://forum.configserver .com/viewtopic.php?f=6&t=8094
*Remove space after configserver
-
- Junior Member
- Posts: 10
- Joined: 10 Jan 2008, 18:17
Re: cloudflare ip's are being blocked while they are whiteli
Hi,
How can that be related to the .htaccess! it does not block them by itself. the cloudflare ip's are whitelisted in both csf.ignore and csf.allow files.
How can that be related to the .htaccess! it does not block them by itself. the cloudflare ip's are whitelisted in both csf.ignore and csf.allow files.
-
- Junior Member
- Posts: 4
- Joined: 08 Sep 2014, 11:57
Re: cloudflare ip's are being blocked while they are whiteli
Its not related with .htaccess if it works when you disable csf
make sure its whitelisted in both csf.ignore and csf.allow files
Also its not blocked / denied in CSF !
Further check the iptables of Linux Firewall if you enabled it with CSF !
Next time read the LOG file in CSF to show you the IPs blocked of cloudflare & what is the reason !
make sure its whitelisted in both csf.ignore and csf.allow files
Also its not blocked / denied in CSF !
Further check the iptables of Linux Firewall if you enabled it with CSF !
Next time read the LOG file in CSF to show you the IPs blocked of cloudflare & what is the reason !
Re: cloudflare ip's are being blocked while they are whitelisted
I also suffering from this same problem from last month. I made a decision to remove the Cloudflaree from my website to make it work properly.digitalmahdi wrote:Hi.
I have this issue with CSF that I have added the cloudflare IPV4 ip's to the allow list and also csf.ignore but it still blocks cloudflare and I can't access websites while the csf is activated!
let say this (108.162.225.114) which blongs to Cloudflare review! the whole block is whitelisted in both allowed ips and ignore file!
I tried to lookup this ip in the blocked list 108.162.225.114, but it's not in the block list either! when I disable CSF it works fine! or when I flush the whole blocked ip's it also works!
whats the workaround for this? anybody with same issue?
tq in advance
Re: cloudflare ip's are being blocked while they are whitelisted
As SolidSnake said, you shoud add CloudFlare IPs to CSF.ALLOW and CSF.IGNORE:
CloudFlare IP Ranges
Some applications or host providers might find it handy to know about CloudFlare’s IPs. This page is intended to be the definitive source of CloudFlare’s current IP ranges. IPv4
IPv4
103.21.244.0/22
103.22.200.0/22
103.31.4.0/22
104.16.0.0/12
108.162.192.0/18
131.0.72.0/22
141.101.64.0/18
162.158.0.0/15
172.64.0.0/13
173.245.48.0/20
188.114.96.0/20
190.93.240.0/20
197.234.240.0/22
198.41.128.0/17
199.27.128.0/21
Also available as a IPv4 text list.
IPv6
2400:cb00::/32
2405:8100::/32
2405:b500::/32
2606:4700::/32
2803:f800::/32