OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: PedroD on November 24, 2019, 08:13:18 PM

Title: Port forwarding not working
Post by: PedroD on November 24, 2019, 08:13:18 PM
I just switched over to a OPNsense from an ASUS router.  Everything was working fine before the switch over.
I have 1 PC running windows 10 that is setup as a Plex Media server, an FTP server and I use remote desktop to connect to administrate it when I am not local.

Everything works correctly on the LAN, but nothing works coming in over the WAN connection.

My OPNsenser firewall is on the LAN at 192.168.1.3 and the Plex / FTP server is on the LAN at 192.168.1.10

OPNsense server info:
Versions:    OPNsense 19.7.7-amd64
                  FreeBSD 11.2-RELEASE-p16-HBSD
                 OpenSSL 1.0.2t 10 Sep 2019

I have checked the ports using CanYouSeeMe.org and I am getting an error message for all ports.

I am forwarding the following ports: 32400 (Plex), 21 (FTP) & 12345 (RDP, redirecting to 3389 internally)

PS. #1) Shouldn't I be able to check the WAN connection from the LAN? (I thought that is what the NAT reflection option was for)

PS. #2) Is there a way to see if OPNsense is denying the requests? (A log or monitoring tool)
Title: Re: Port forwarding not working
Post by: PedroD on November 25, 2019, 08:28:43 AM
I switched back to my ASUS RT-AC87R and everything is working correctly.  Would like to figure out what I have setup incorrectly on the OPNsense firewall.
Title: Re: Port forwarding not working
Post by: nbfedafdf on November 25, 2019, 01:27:54 PM
Having issues here too. I need a simple 80,443 dest NAT to internal but the "associated filter rules" or whatever is causing it to expose the web login interface
Title: Re: Port forwarding not working
Post by: spetrillo on November 26, 2019, 12:24:30 AM
I am curious also....I cannot get a discrete port forward to work, yet UPNP works.
Title: Re: Port forwarding not working
Post by: jalo4k on November 26, 2019, 11:46:54 AM
Hi! I don't may to open(forward) a port(rdp), too. Please help me)

https://wiki.opnsense.org/manual/nat.html

Port forwarding
When multiple clients share an external IP address, any connection not initiated by one of the clients will not succeed since the firewall will not know where to send the traffic. This can be addressed by creating port forwarding rules. For example, for a web server behind the firewall to be accessible, ports 80 and 443 need to be redirected to it.
Port forwarding is also referred to as "Destination NAT" or "DNAT".
In OPNsense, port forwarding can be set up by navigating to Firewall ‣ NAT ‣ Port Forward. Here, you will see an overview of port forwarding rules. New rules can be added by clicking Add in the upper right corner.


This manual don't work!!!
Title: Re: Port forwarding not working
Post by: PedroD on November 27, 2019, 04:29:21 PM
Does anyone actually respond to the posts with any help?  Is there a better forum to post these questions / problems on to?
Title: Re: Port forwarding not working
Post by: chbmb on November 27, 2019, 05:51:05 PM
OK guys, I'm not sure what you're doing, but I can 100% confirm port forwarding is working as expected.  I'm new to OPNsense too, but I came from Pfsense, which is pretty similar. 

I did find there was a fairly steep learning curve coming from a modem/router (I was using an Asus prior to this) here's my port forwards so you get an idea of what they should look like.