Assistance with Nginx and pfsense port forward reddit / selfhosted ---------------------------------------------------------------------- _ghidra_ ยท 2023-12-31 04:52 Hello fellow hosters, I have been trying for the past 8 hours to set up nginx and get the ports forwarded. Nginx is set up with no issues, I have it hooked up to cloudflare and have a test site ready to go. In pfsense, I set the port forwards as to allow TCP/UDP from any source going to source 443 and 80, with the dest. address as the WAN, and the ports 443 and 80 with the NAT IP to the nginx machine and the nat ports to what I set them as. When I try to access the site, I get the cloudflare error page saying something is wrong with my host error 502 When I check on [canyouseeme.org](https://canyouseeme.org) it is unable to see that open port. (I do run plex and have that open port and am able to see that its open and see that the rule allows it in the logs) When going through the logs, I can see when that port is being called, and its like the NAT rule isnt running to translate it to the nginx IP and port for some reason. Its just staying at my public IP with 443. When I create a firewall rule based on the one I am seeing in the logs, I can follow my nginx link and it will bring me to my pfsense login page, telling me that NAT isnt translating from my wan address to the private IP and port that I am asking it to and I dont know why. UGH Any assistance would be appreciated! Thank you!