Pfsense + HAProxy + Cloudflare: getting 522&503 errors and DNS host override not working
-
Good day,
I'm having having a hell of a time getting my setup to work. I was able to get to nextcloud when I used cloudflare tunnels, but I had to switch from their tunnels as they have a max file upload size of 100mb. So since I use pfsense I might as well use HAPoxy and use that much like I used to use NginX and Lets Encrypt.
I'm pulling out my hair here. If I set my SSL/TLS encryption mode on cloudflare to Flexible and go to my https dot com I get a "Connection timed out Error code 522". If I set the SSL/TLS encryption mode on cloudflare to Full it says "503 Service Unavailable. No server is available to handle this request."
If I use my local ip I can access this just fine.
-My DNS host override is not working either. Using the dig command returns the cloudflare server ip rather than the local server ip ive set.
-I had switched from ISC to Kea due to the warning, but switched back this morning after reading this
-Under diagnostics, the DNS lookup returned an A record for the local IP of my nextcloud machine. ping and traceroute also returned a connection to that local server.
I've used the following videos:
Please Help
-
@cribbageSTARSHIP said in Pfsense + HAProxy + Cloudflare: getting 522&503 errors and DNS host override not working:
I'm pulling out my hair here. If I set my SSL/TLS encryption mode on cloudflare to Flexible and go to my https dot com I get a "Connection timed out Error code 522". If I set the SSL/TLS encryption mode on cloudflare to Full it says "503 Service Unavailable. No server is available to handle this request."
If these settings have any impact on the connection, I assume that it still goes over Cloudflare.
Consider the DNS cache.