Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Where do I add Cloudflare IPs to whitelist them?

Discussion in 'Workarounds and Optimization' started by Sunlander, Mar 9, 2019.

Tags:
  1. Sunlander

    Sunlander Well-Known Member

    Joined:
    May 7, 2018
    Messages:
    46
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Hi,

    I am trying to improve performance on my website and have just signed up to Cloudflare free account. As part of the instructions is says to add a number of IP addresses to the server whitelist. I found this post:

    Cloudflare blocked in firewall alerts

    which says to add the IPs to /etc/csf/csf.ignore

    So I did nano /etc/csf/csf.ignore and then pasted all those IPs in that file and clicked Save. However it throws an error saying the file does not exist.

    My question is (as the thread above is 3 years old) is this the correct way to whitelist IPs for my VPS? If not, where/how do I achieve this?

    Kind regards
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,827
    Likes Received:
    476
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    That file is a part of ConfigServer firewall. Do you have that installed? If yes, you can edit that same file via WebHost Manager in the CF GUI.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice