XFileSharing Pro - Cloudflare and wrong ip

Message
Author
Cherub
Posts: 2
Joined: Jan 05, 2021 10:32 pm

Cloudflare and wrong ip

#1 Postby Cherub » Jan 06, 2021 9:20 am

How to put it right сloudflare on main server and file server?
Did everything according to the instructions
Changed host file on main server:
ip_files files1.domain.com
Changed host file on file server:
ip_main domain.com www.domain.com
set 'accept_cf_connecting_ip' to '1' in XFileConfig.pm

Everything works, but when you download your own file, it writes an error: "wrong ip"
Only option helps "Allow download from: All ips" but I don't need it

What am I doing wrong?

Cherub
Posts: 2
Joined: Jan 05, 2021 10:32 pm

Re: Cloudflare and wrong ip

#2 Postby Cherub » Jan 24, 2021 1:23 pm

I disabled сloudflare for file servers, users still complain about error: "wrong ip", so far it only helps option "Allow download from: All ips"

verzing
Posts: 151
Joined: Mar 02, 2011 7:00 pm

Re: Cloudflare and wrong ip

#3 Postby verzing » Jan 25, 2021 10:37 pm

I think Allow download from: All ip is the only option for it to work.


Return to “XFileSharing Pro”