XFileSharing Pro - Cloudflare and wrong ip

Message
Author
Cherub
Posts: 1
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?

Return to “XFileSharing Pro”