Hi, I am trying to setup Cloudflare DNS with pfSense+HAProxy.
My pfSense firewall is listening to Port 443 for HAProxy. I have also setup Cloudflare DNS and created a subdomain which points to my public ip.
When I try to ping the URL, the request comes to my pfSense firewall. But when I try to access the url on my browser, the request timed out if the DNS proxy is disabled and I get Error 523 if the DNS Proxy is enabled. I am sure the firewall is working well as I can see the logs of requests coming in for ICMP. But I don’t see any logs for TCP Port 443 on my Firewall logs. That means the requests are not reaching my pfSense firewall at all.
You have already diagnosed that the reason Cloudflare cannot connect to your origin server is due to your origin server timing out. You will need to fix that before you have something that the Cloudflare Community can assist you with.
I suggest the Netgate forum or perhaps the Networking & Firewall category of the Lawrence Systems forum. We’ll be here to answer any questions about Cloudflare after you figure out how to fix your origin server.