help and other port forwarding nightmare

Started by johannes, November 07, 2018, 07:19:22 AM

Previous topic - Next topic
Hello Guys. I have issues with portForwarding .
Can anybody help me . 8)

my version of opnsense is : OPNsense 18.7.6-amd64

I have a PPoE connexion and I disable NAT for the router of my ISP.
In my opnsense dashboard I have WAN up and Two interfaces for LAN

I need to access from outside  to port 443 in opnsense box to port 22 to my webserver
I didn't this before but for some reason after the latest upgrade it isn't working anymore.
And now I'm trying to fix it.

- I checked first this rules in Firewall -->  Advanced :

  Reflection for port forwards: Enabled
  Reflection for 1:1: Disabled
  Automatic outbound NAT for Reflection: Enabled


- added alias for host/port

web: 192.168.1.10
webPort:  22


- Now Firewall --> NAT --> Port Forwarding 

Interface: WAN
- TCP/IP Version: IPv4
- Protocol: TCP

Under Source > Advanced:
- Source / Invert: Unchecked
- Source: Any
- Source Port Range: any to any

- Destination / Invert: Unchecked
- Destination: WAN address
- Destination Port range:  https to https
- Redirect target IP:  web
- Redirect target Port:  webPort
- Pool Options: Default
- NAT reflection: Enable
- Filter rule association: Rule NAT


So now In Rules I can see in WAN added

prot     Source       Description
IPV4     *                    NAT


And In Firewall --> Port Forward I see

  linked
   <->       WAN     TCP    webserver  webserverPort


What I'm doing wrong ?
thanks for your time and answers

I updated opnsense to 18.7.7  :o
Now the port forwarding it is working.

Thas was all  8)
I didn't change the config for NAT or port forwarding or alias.
So weird.

Thanks guys.

Hi johannes,

Sounds like this issue: https://github.com/opnsense/core/issues/2879

Was fixed in 18.7.7 indeed.


Cheers,
Franco