Announcement

Collapse
No announcement yet.

IP Whitelist

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wayne Luke
    replied
    vBulletin doesn't understand CIDR notation. Try the following in the /includes/config.php file:

    Code:
    //default configuration for Cloudflare proxy.
    $config['Misc']['proxyiplist'] = '103.21.*, 103.22.*, 103.31.*, 104.16.*, 108.162.*, 131.0.*, ' .
        '141.101.*, 162.158.*, 172.64.*, 173.245.*, 188.114.*, 190.93.*, 197.234.*, 198.41.*, ' .
        '2400:cb00:*, 2405:b500:*, 2606:4700:*, 2803:f800:*, 2c0f:f248:*, 2a06:98c0:*';
    
    $config['Misc']['proxyipheader'] = 'HTTP_CF_CONNECTING_IP';

    Leave a comment:


  • alano
    started a topic [Forum] IP Whitelist

    IP Whitelist

    Hi,

    I just starting using Cloudflare as my forum regularly gets DDOS attack and I just have a question regarding the Reverse Proxy IP since real users' ip addresses are replaced by Cloudflare's ones.

    So I saw that there was a Reverse Proxy IP option in the config.php file which seems to works fine, but I just have one question.

    Regarding this line : $config['Misc']['proxyiplist'] = '127.0.0.1'...

    Since Cloudflare IP addresses (listed here ), can I put all IPV4 & IPV6 addresses in the config.php line like that? : 108.162.192.0/18, 197.234.240.0/22, 2606:4700::/32, 2405:b500::/32 and so on?

    Or should I use another syntax with the * at the end of the IP addresses?

    Thanks

Related Topics

Collapse

Working...
X