Local Webserver Access Not Working

Started by weswitt, August 10, 2019, 07:31:31 PM

Previous topic - Next topic
I have a web server on a machine in my LAN, IP address 192.168.1.176. This address is forwarded from the outside WAN by the URL http://wittfamily.com. Access to the web server from the WAN works perfectly. If I access that URL from inside my LAN it appears to be redirecting to router's website.

What config setting allows this to work??

You're looking to enable NAT Reflection/NAT Hairpinning/NAT Loopback.

It's a setting you can enable for each NAT translation.

Thanks,

I've enabled NAT reflection in Firewall // Settings // Advanced and in the specific rule for HTTP & HTTPS. The behavior is different, but still does not work correctly. Now when I try to browse to the URL the browser just times out. Seems that the address is not being re-written correctly. Possibly there is another setting that I need to change?

you may have to move the web interface to another port.

Please note that I would recommend to use a load balancer (nginx, haproxy) instead of a port forward as they are more powerful and you can host multiple pages on multiple servers.