[solved] Cloudflare domain takes me to pfsense configuration page
-
Hi all,
I'm kind've at a loss here, I'm using cloudflare for a custom domain and I have a few firewall NAT configurations/rules in place to forward ports to some docker containers and I can't figure out why when I try to visit https://mydomain.com I am being forwarded to the PFSense configuration page. When I do an nslookup on my domain it is correctly returning my WAN IP address and I don't have any domain overrides configured.
I think this has less to do with the fact that my domain is hosted on cloudflare and more to do with something being misconfigured somewhere within pfsense but thought I’d mention it anyways.
Any specific settings I can look at to understand why this is happening?
Thank you.
-
@underqualifieditguy Mods please close this topic as resolved. The problem was that my pfsense GUI was still configured to use port 443.
-
Domain resolving has nothing to with ports .... ;)
Having the pfSEnse GUI listing on port 80 or 443 or 1043 or whatever does not change the serach for an A or AAAA record on your "Cloudflare domain".
-
@gertjan I had port 443 forwarding to a different port on my LetsEncrypt container. I was trying to access my LE container on port 443 and my domain and all subdomains were redirecting me to PFSense. So I guess it was a combination of the fact that my GUI was on 443 and I was trying to forward that port at the same time.
-
Please don't delete your posts when you find a solution to your problem. Leave it up so that someone else down the road might benefit from what you did.
-
Problem from what he stated but deleted was his domain resolved to his WAN IP, so yeah guess what your going to get pfsense gui if you hit your pfsense wan IP.
-
Yup. This: https://docs.netgate.com/pfsense/en/latest/nat/accessing-port-forwards-from-local-networks.html
-
Nice : no problem and many solution.
-
@johnpoz I didn't delete my post, did I? I just asked for it to be deleted. I still have the content if you're not seeing it.
EDIT: Oops, I did delete it. Sorry about that. I have restored the content. Hope you're seeing it now.
-
Yeah I knew you deleted, mod powers and all..
You can mark it solved as well - just edit the subject your post.. Put a [Solved} in front.
-
@johnpoz Thanks for your help and sorry for the confusion. Have a good day.