Local URL's not resolving with NGINX Proxy Manager
-
Hi All.
I just got pfsense installed as my new router and firewall. I have it setup as my defaults DHCP server. I have mostly the defaults set and have added two DNS server on the startup wizard page (1.1.1.1 and 8.8.8.8). All my network devices have received proper IP addresses and I have configured some to have static IP's. Services seem to be accessible via IP:port on my web browser from inside the network.
In order to access my services outside my network I have a VM on a computer running NPM (NGINX Proxy Manager) and have set pfsense up to forward ports 80 and 443 to the IP address of the NPM instance. I checked with a port scanner and both ports are open.
My problem is that I can access all of my services inside the network via IP:port only. I have these services connected to a DDNS (no-ip.com) so that I can have a hostname for each service that I can access outside my network. For example I have service1 running inside my network that I can access by IP address but I cannot access it by its domain name service1.jumpto.org. The weird thing is that I can access the service1 URL from outside my network on my cell phone or another persons computer. So the domain names are working properly when I'm accessing outside my network but when inside my network they are only accessible via IP:port.
I have spent several days reading and following guides to get this to work. I have played with DNS Resolver and Forwarder. I had no luck with anything. I have now put all settings back to default.
I am running the latest version of pfsense on a Protectli. I have it placed between my fiber modem and main switch.
In the end I want to access my internal services using the domain names I've created with No-IP.com and have then not only accessible outside my network but from inside as well and not have to use IP:port.
Please let me know if there are details I forgot to include. Really looking to crack this problem soon!
-
You need to setup split DNS or (if you must) enable NAT reflection to access forwarded services from inside the firewall.
https://docs.netgate.com/pfsense/en/latest/recipes/port-forwards-from-local-networks.html
Steve
-
@stephenw10 Thanks! This solved my problems!