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!

Whitelist Cloudflare IPS

Discussion in 'Security' started by Zoltan Szabo, Jan 25, 2019.

  1. Zoltan Szabo

    Zoltan Szabo Active Member

    Joined:
    Jul 13, 2017
    Messages:
    41
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Hungary
    cPanel Access Level:
    Root Administrator
    Dear All,

    I activated Cloudflare on one of my websites and just how CF suggest I like to whitelist CF IPs.
    See CF IP list: IP Ranges | Cloudflare

    I found numerous ways to do it, some seems obsolete too me.
    Now I am a little lost in the info ocean.

    My question is:
    How to do a proper CF IP whitelist? (One site only)
    IpTables or Mod_security or just .htaccess?
    Do I need to also whitelist CPHulk?

    What rule do I need? Do I need to (allow CF) or (Deny all, allow CF) ?

    Sorry for too generic question but I guess a proper guide would be welcomed to everybody whos later finding this thread.

    Thank you all even in advance
    Zoli
     
  2. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    260
    Likes Received:
    31
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    You can install csf and add ip's to ignore.list. Traffic from these ip addresses is not considered.

    After installing csf you can disable cphulk.
     
    #2 vacancy, Jan 25, 2019
    Last edited: Jan 25, 2019
  3. ES - George

    ES - George Well-Known Member PartnerNOC

    Joined:
    Jun 12, 2011
    Messages:
    175
    Likes Received:
    22
    Trophy Points:
    68
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Twitter:
    The first thing to establish is this: do you have anything which might block their IPs as it stands?

    Unless you specifically installed a firewall like CSF/LFD or APF/BFD, the answer is probably no, and they wouldn't need whitelisting as such.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelLauren and Zoltan Szabo like this.
  4. Zoltan Szabo

    Zoltan Szabo Active Member

    Joined:
    Jul 13, 2017
    Messages:
    41
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Hungary
    cPanel Access Level:
    Root Administrator
    CSF is not running, rest is something I never heard of. I dont have mutch extra on my webserver just mod_sec and CPHulk just how it came from Cpanel.
    -So no worries about CloudFlare.

    Thanks
     
  5. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,206
    Likes Received:
    478
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    HI @Zoltan Szabo

    If you do decide to run CSF you can easily add these to the ignore list. If not you might add them to iptables but really, it doesn't sound like there's any reason to do this at this time.


    Thanks!
     
    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