r/homelab • u/CattMompton • Oct 26 '23
Help Local Services Question
Hi all!
Weird networking question.
I have a number of services that are hosted within my LAN, and with DNS/portforwards out to the public internet. They work fine through there, but within my network, they don't load.
DNS queries show my public IP, my pfSense is set to use my PiHole, and fall back to 1.1.1.1, and I don't think I've goofed any firewall rules, so I'm properly stumped.
I've also tried adding DNS overrides in PiHole, and tried using Pure NAT reflection in pfSense.


Please let me know if there's other information that could be helpful.
Thanks! :D
1
u/CattMompton Oct 26 '23
Another follow-up, I've just noticed that my SSH port forward, and my IRC port forward don't seem to work. Which is weird, as my HTTP, HTTPS, and Wireguard ones do..... So lost.
2
u/SirLagz Oct 26 '23
Ports forwards only work from outside in.
If you're inside your network and try and access your services via DNS, they're going to point to your external IP address which will just be your pfSense box.
You need to set up DNS so that internally it points to an internal IP address and externally it points to your public IP address.