OPNsense Forum

English Forums => General Discussion => Topic started by: LisaMT on February 27, 2025, 04:57:51 AM

Title: Port forwarding through ISP router and OPNsense?
Post by: LisaMT on February 27, 2025, 04:57:51 AM
Is it possible to get incoming connections through both the ISP and OPNsense?  I tried, but failed.
I had OPNsense setup as the default.
ISP router on 192.168.1.1,  OPNsense WAN on 192.168.1.10, OPNSense LAN on 192.168.10.1
The system was working great.  Then I wanted to open a connection to my sever that is on 192.168.10.5
Before OPNsense, I just did a port forward from the incomming port of 1234 to port 80 on 192.168.10.5
My attempts to get an outside connection working has failed so far.  I thought there would be a way with firewall rules.?
Title: Re: Port forwarding through ISP router and OPNsense?
Post by: bartjsmit on February 27, 2025, 07:49:39 AM
Quote from: LisaMT on February 27, 2025, 04:57:51 AMport forward from the incomming port of 1234 to port 80 on 192.168.10.5
Modern browsers will warn sternly about unencrypted HTTP and force users to click twice before accessing your site. If you are using port 80 for ACME, you may be better off with cloudflared which avoids opening ports and includes a PKI certificate.

There are many YT videos to help you, such as this one from Chris Sherwood https://youtu.be/ZvIdFs3M5ic
Title: Re: Port forwarding through ISP router and OPNsense?
Post by: LisaMT on February 27, 2025, 04:45:52 PM
Thanks for that video!  It looks like the easiest way to get outside access through the system.