Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Local Webserver Access Not Working
« previous
next »
Print
Pages: [
1
]
Author
Topic: Local Webserver Access Not Working (Read 3339 times)
weswitt
Newbie
Posts: 10
Karma: 0
Local Webserver Access Not Working
«
on:
August 10, 2019, 07:31:31 pm »
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??
Logged
ARCHmatux
Newbie
Posts: 7
Karma: 0
Re: Local Webserver Access Not Working
«
Reply #1 on:
August 11, 2019, 01:36:17 am »
You're looking to enable NAT Reflection/NAT Hairpinning/NAT Loopback.
It's a setting you can enable for each NAT translation.
Logged
weswitt
Newbie
Posts: 10
Karma: 0
NAT Reflection Not Working
«
Reply #2 on:
August 11, 2019, 06:17:07 pm »
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?
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Local Webserver Access Not Working
«
Reply #3 on:
August 11, 2019, 09:49:01 pm »
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.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Local Webserver Access Not Working