Hello guys...
I have recently migrate from a Router/AP/Switch runing OpenWRT to a minipc router runing OPNSense and I'm having trouble to make something that was working with OpenWRT to work withi OPNSense...
On my network I have an instanse runing Home Assistant with the Add-on NGINX Proxy manager... On it I have my URL pointing to the internal IP/Port. I had set up the NAT Port forwarding, directing port 443 on WAN to the 443 on the NGINX Proxy.
When a try to access "https://internalhost.myurl.com" from the internet it successefully redirect to the desired host on my network.... But when I try to access the same "https://internalhost.myurl.com" from inside my local network it fails... I tried to "nslookup the URL and the result is my WAN IP...
Probably its a very basic rule but I'm not seeing it... And also I can't find on firewall logs the attempt to estabelish this connection. Thanks!
in case some one finds this topic, I found the solution on this topic:
https://forum.opnsense.org/index.php?topic=14088.0
That was:
Firewall -> Settings -> Advanced
Enable:
- Reflection for port forwarding
- 1: 1 reflection
- Automatic outbound NAT for reflection NAT
Firewall -> NAT -> Port Forwarding
WAN TCP * * WAN address 80 (HTTP) 192.168.1.50 80 (HTTP) Name