Proxmox Cloudflare Tunnel 502 Bad Gateway

Additional information

I don’t know/other

What is the error number?

502 bad gateway

What is the issue you’re encountering

502 bad gateway when using cloudflared on a lxc container in Proxmox and using a tunnel

What steps have you taken to resolve the issue?

Tried https and https with disabling chunk encoding and tls verify. Tried the with the default port of 8006 as well.

I followed BigBear tech world’s guide on youtube and just can’t figure out what I’m doing wrong. I have a Proxmox server that uses the default 8006 port and have nothing special going on with it, it’s very basic. My tunnel is showing healthy, I just get a 502 bad gateway, unable to reach the origin server. Any help would be greatly appreciated.

It ended up being the node firewall. I turned that off and can get access now. At least now, I know what it was and can edit my firewall rules.