PDA

View Full Version : How to Use Cloudflare on Vbulletin 4.x (100% Working)


vimarc
03-16-2017, 09:22 AM
In this tutorial I am going to share How to Use Cloudflare on Vbulletin 4.x (100% Working).

Check out Demo (http://www.topcelebforum.com/)

This method is 100% working for me and I am not getting any login issue to admin panel or member panel.

To use Cloudflare on Vbulletin 4.x do the following steps:

1. Add your vbulletin on cloudflare... Let the cloudflare scan the Nameserver.
After scan edit your nameserver as per Cloudflare guidelines.

2. After that Go to DNS tab and check DNS and HTTP Proxy
If Icon color is highlighted then click on that cloud icon and make all DNS Only.

3. Now go to Speed Tab and enable
JavaScript
CSS
HTML

4. Next Go to Page Rule Tab, here yo need to add 3 rules.
*.youdomain.com/login.php*
Then the settings are: browser intigrity check-off, cache level: bypass
*.youdomain.com/*
Then the settings are: ssl: off, browser cache ttl:1day,always online: on, cache level: cache everything
*.youdomain.com/admincp/*
Then the settings are: ssl:off, cache level: bypass

5.Open config file and add proxy ip address of cloudflare:
go to http://intodns.com/ and put your site address
get ip address and put that address on config bottom line with coma seprated

vimarc
03-18-2017, 04:10 AM
Pls let me know if anyone using cloudflare with differnet settings.

final kaoss
03-18-2017, 07:16 PM
From what I can remember of using cloudflare, it broke inline moderation somewhat.
Affected the quick reply box and caused a ip issue with "who's online". Since then, I've simply settled on not using it & rather focusing on making my site faster (look in sig). Never looked back since :)

If you do keep using it, I suggest to turn off rocketloader so it can't intercept your JS & cause interference with that.

vimarc
03-21-2017, 12:06 PM
Yes i know rocketloder trouble not only vbulletin but wordpress..

winky8300
05-23-2017, 08:06 AM
Hello everybody

There was a cloudfare link that explains how to have the real ip of the member, but that link is dead, someone noted this change please
https://support.cloudflare.com/hc/en-us/articles/200170856-How-do-I-restore-original-visitor-IP-with-vBulletin-

webmastersun
05-27-2017, 02:08 PM
Pls let me know if anyone using cloudflare with differnet settings.

I leave the default settings, just edit some when using SSL for my forum.

GHRake
05-30-2017, 11:16 PM
Pls let me know if anyone using cloudflare with differnet settings.

I have had CloudFlare for the past 2 years, my forum is heavily modified and I haven't required any special page rules and never really had any problems with it, just using the basic settings. Guess I'm lucky. I also just installed a free LetsEncypt SSL cert too

Also for those that don't know vBulletin 4.2.x has built in reverse proxy detection now, no more class_core.php edits. But you still need root access and mod_cloudflare if you want correct IPs in your apache logs.

I used to get DDoSed alot but not in the past year or 2...guess I don't really need it anymore

Rideharder
06-12-2017, 07:15 PM
I have had CloudFlare for the past 2 years, my forum is heavily modified and I haven't required any special page rules and never really had any problems with it, just using the basic settings. Guess I'm lucky. I also just installed a free LetsEncypt SSL cert too

Also for those that don't know vBulletin 4.2.x has built in reverse proxy detection now, no more class_core.php edits. But you still need root access and mod_cloudflare if you want correct IPs in your apache logs.

I used to get DDoSed alot but not in the past year or 2...guess I don't really need it anymore

Free LetsEncypt SSL. Can you share how you got it for free?

Paul M
06-12-2017, 07:17 PM
LetsEncypt is free for everyone, thats its basic principle.

https://letsencrypt.org/

Rideharder
06-12-2017, 07:42 PM
LetsEncypt is free for everyone, thats its basic principle.

https://letsencrypt.org/


I wonder if it's going to be free for long term.. I just read up on it and watch the Youtube video.. sorry about hijacking the post. Thanks!

--------------- Added 1497329116 at 1497329116 ---------------

LetsEncypt is free for everyone, thats its basic principle.

https://letsencrypt.org/

Sweet Installed Let's Encrypt SSL into vultr and got it all to work!
Now working on IMG Cacher https://vborg.vbsupport.ru/showthread.php?t=288060


I used cloudflare when they first came out and it took a little bit of time to understand the redirect..
Nice informative post.. :up:

Mattwhf
06-13-2017, 02:15 PM
I wonder if it's going to be free for long term.. I just read up on it and watch the Youtube video.. sorry about hijacking the post. Thanks!

They can offer it for a long term for free but services around it then can be not free.

GHRake
07-18-2017, 12:02 AM
Free LetsEncypt SSL. Can you share how you got it for free?

Heres a little LetsEncrypt Tutorial (https://guidedhacking.com/showthread.php?9204-LetsEncrypt-Shared-Hosting-Ubuntu-VM) I wrote

mdawg
09-14-2020, 04:21 PM
4. Next Go to Page Rule Tab, here yo need to add 3 rules.
*.youdomain.com/login.php*
Then the settings are: browser intigrity check-off, cache level: bypass
*.youdomain.com/*
Then the settings are: ssl: off, browser cache ttl:1day,always online: on, cache level: cache everything
*.youdomain.com/admincp/*
Then the settings are: ssl:off, cache level: bypass

Those settings seem to cause too many redirects and inability to open my vb4 site at all.

z3r0
09-14-2020, 04:31 PM
Those settings seem to cause too many redirects and inability to open my vb4 site at all.

The login.php and other stuff isn't needed, and for the admincp just bypass cache and disable performance.

mdawg
09-14-2020, 06:21 PM
*.youdomain.com/admincp/*
Then the settings are: cache level: bypass and disable performance.

I did only that (one rule only) and now it works okay.

--------------- Added 1600115263 at 1600115263 ---------------

But a possibly related to cloudflare issue I am having on this vb4 forum is that sometimes when a post or new thread is created with too many URLs in it, the post gets posted but a server (host) timeout error occurs.

Maybe this has to do with this app
Title Tag Fetcher (Auto Replace URL with Titletag)
https://vborg.vbsupport.ru/showthread.php?t=189658
that I continue to use on my vb4 forum. Maybe there is too much of a delay when multiple URLs titles are being fetched in one post.

The error I get that shows on the web does not indicate a cloudflare problem though, rather a host timeout.

Greek76
10-13-2020, 02:59 PM
I’ve been using cloudflare for a couple of days. I bypass cache and disabled performance on my admin panel. No issues so far. Do you guys use the firewall? I just activated it today. Usually I worry about firewall settings that it’ll cause issues.

z3r0
10-13-2020, 04:27 PM
I find the firewall pretty handy for blocking certain ASN's from accessing the registration page, that along with my block registrations by country mod has cut my spammers to also none.