OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • help and other port forwarding nightmare
« previous next »
  • Print
Pages: [1]

Author Topic: help and other port forwarding nightmare  (Read 3694 times)

johannes

  • Newbie
  • *
  • Posts: 3
  • Karma: 1
    • View Profile
help and other port forwarding nightmare
« on: November 07, 2018, 07:19:22 am »
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 :
Code: [Select]
  Reflection for port forwards: Enabled
  Reflection for 1:1: Disabled
  Automatic outbound NAT for Reflection: Enabled

- added alias for host/port
Code: [Select]
web: 192.168.1.10
webPort:  22

- Now Firewall --> NAT --> Port Forwarding 
 
Code: [Select]

 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
Code: [Select]
prot     Source       Description
IPV4     *                    NAT

And In Firewall --> Port Forward I see
Code: [Select]
  linked
   <->       WAN     TCP    webserver  webserverPort

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

johannes

  • Newbie
  • *
  • Posts: 3
  • Karma: 1
    • View Profile
Re: help and other port forwarding nightmare
« Reply #1 on: November 09, 2018, 03:36:29 am »
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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: help and other port forwarding nightmare
« Reply #2 on: November 09, 2018, 07:07:32 am »
Hi johannes,

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

Was fixed in 18.7.7 indeed.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • help and other port forwarding nightmare
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2