OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • [Tutorial] How I do port forwarding - simple and straightforward
« previous next »
  • Print
Pages: 1 2 [3]

Author Topic: [Tutorial] How I do port forwarding - simple and straightforward  (Read 100505 times)

zzy

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: [Tutorial] How I do port forwarding - simple and straightforward
« Reply #30 on: January 30, 2023, 10:16:19 pm »
Hi, I finally get my LAN -> WAN Port forwarding working by updating this setting (check attachment)

Version: OPNsense 23.1

Question: I read this thread hinting that it has 'Rule NAT' option (only had 'Rule' option) and some other threads that suggested 'add associated filter rule' (i have never seen this option even in this case). The issue I had earlier however was that, there were 2 Rule options in the drop down, and then when I change 80 nat's option to Pass, one of the 'Rule' option disappeared, and then when I change the 443 nat's option to pass, the other 'Rule' option disappeared.

Then I go back to 80's nat config, the only option left were 'None' and 'Pass'. So I chose pass.

Is this normal? or is it a bug?

Logged

pfabi

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: [Tutorial] How I do port forwarding - simple and straightforward
« Reply #31 on: March 02, 2023, 11:53:58 pm »
Actually I have the same question. Looks that when rule is created, there is a "Rule" option. But when you try to change it - only None and Pass. Is that by design?
« Last Edit: March 02, 2023, 11:56:03 pm by pfabi »
Logged

mkozik1

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: [Tutorial] How I do port forwarding - simple and straightforward
« Reply #32 on: April 09, 2023, 10:42:33 pm »
I am trying to get this to work for my video recorder as well and I have tried all kinds of different configurations with no luck.  I am coming from Ubiquiti Gateway and it was working perfectly on my Ubiquiti system.  Wondering also if there might be an issue with my Ubiquiti Controller interfering with the traffic?  I have disabled all of the original rules but have not changed anything.

Thanks in advance,

Mark
Logged

9axqe

  • Newbie
  • *
  • Posts: 48
  • Karma: 1
    • View Profile
Re: [Tutorial] How I do port forwarding - simple and straightforward
« Reply #33 on: May 14, 2023, 12:03:14 pm »
Quote from: vielleicht on June 15, 2019, 08:48:23 pm
Hi.

I exactly did what you described, because I think this way is obvious. And it works, so thanks for clarification.

But: The packets are forwarded with a SNAT, that is, the source ip will be changed to the OpnSense-IP. That is problematic if you try to analyse the packet source or simply print the source ip adress. How can this behavior be disabled? I did not find any solution or help by searching the internet.

Thanks in advance, Philipp

-- edit: disabling "NAT reflection" did not help

Hi Philipp, did you solve this problem?
Logged

  • Print
Pages: 1 2 [3]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • [Tutorial] How I do port forwarding - simple and straightforward
 

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