Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[Solved] Firewall Rule for NGINX Proxy Manager
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] Firewall Rule for NGINX Proxy Manager (Read 3079 times)
dsduarte
Newbie
Posts: 20
Karma: 0
[Solved] Firewall Rule for NGINX Proxy Manager
«
on:
November 03, 2023, 04:52:59 pm »
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!
«
Last Edit: November 05, 2023, 08:33:44 pm by dsduarte
»
Logged
dsduarte
Newbie
Posts: 20
Karma: 0
Re: [Solved] Firewall Rule for NGINX Proxy Manager
«
Reply #1 on:
November 05, 2023, 08:36:00 pm »
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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[Solved] Firewall Rule for NGINX Proxy Manager