OPNsense Forum

English Forums => General Discussion => Topic started by: WonderFrank on May 14, 2020, 01:25:24 pm

Title: Port forwarding working if outside of network but not inside of network
Post by: WonderFrank on May 14, 2020, 01:25:24 pm
I have a port forwarding rule set up to forward 443 and 80 to an address within my network. When i access https://home.mywebsite.com from outside my network the traffic gets sent to the host within my network without any issue.

However when i go to the same address within my network (which resolves to the correct external IP address from within the network) i am presented with the OpnSense login page. That is OpnSense responds to the 443 request rater than passing it onto the address within my network.

When using my old ISP's router this was not an issue, it worked the way i would want it to however I suspect OpnSense is a little more specific and requires a little more setup.

What am i missing?

(https://b.allthepics.net/2020-05-14_12-23-03.png)
Title: Re: Port forwarding working if outside of network but not inside of network
Post by: marjohn56 on May 14, 2020, 04:36:32 pm
Change the management port in System: Settings: Administration and disable re-direct, see if that works.
Title: Re: Port forwarding working if outside of network but not inside of network
Post by: WonderFrank on May 14, 2020, 07:12:19 pm
Change the management port in System: Settings: Administration and disable re-direct, see if that works.

This worked however its not how id like to solve the problem. Although it did point me in the right direction the reason the 443 requests were going to the opnsense page was because of the antilockout rules. With a slight adjustment there i've got it working.
Thank you for pointing me in the right direction