OPNsense Forum

English Forums => General Discussion => Topic started by: ajtatum on May 12, 2023, 01:09:37 PM

Title: I have websites proxied via Cloudflare & they timeout when trying to access them
Post by: ajtatum on May 12, 2023, 01:09:37 PM
Hi,

I'm new to OPNsense, but love it thus far. I'm having trouble accessing my websites that are proxied/protected via Cloudflare. If the sites aren't proxied through Cloudflare, I have no issue accessing them with the 1:1 NAT and Port Forwards that I have setup at the moment. But, if they are proxied, I get an Error 522 "Connection timed out" error from Cloudflare.

I know with Synology, I could handle this with "Trusted Proxies" from the IPs below:
https://www.cloudflare.com/ips-v4
https://www.cloudflare.com/ips-v6

But, I don't know how to implement this on OPNsense, or even if that's what I'm supposed to do.

Any help/recommendations would be greatly appreciated.

Thanks,
AJ
Title: Re: I have websites proxied via Cloudflare & they timeout when trying to access them
Post by: isaacthekind on October 21, 2023, 11:46:50 PM
I would also love to know the answer to this. Exact same issue here.
Title: Re: I have websites proxied via Cloudflare & they timeout when trying to access them
Post by: isaacthekind on October 27, 2023, 08:56:18 PM
Issue was needing to use alias for all Cloudflare IPs then add HTTPS allow rule.

https://www.cloudflare.com/ips-v4