Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Port forwarding not creating any rules?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Port forwarding not creating any rules? (Read 1185 times)
diehardbattery
Newbie
Posts: 13
Karma: 0
Port forwarding not creating any rules?
«
on:
August 25, 2022, 05:34:43 am »
Running 22.7.2. I posted yesterday about an issue I was having with port forwarding. Admittedly it was probably a bit non sensical. So I am going to focus on one thing at a time. I have been seeing that when you create a port forward under Firewall > Nat > Port Forwarding, that an associated filter rule has an option to be created. This is true, correct?
What I am seeing seems confusing. The only option when I create a port forward regarding a filter rule is "pass" and "none". Currently it is set to "pass" but something does not seem right. I am trying to port forward 80 and 443 to my webserver running nginx so I can reverse proxy. Nginx sees the connection come in but refuses it, which is making me think something is wrong between OPNsense and downstream to the web server.
If a filter rule is set to pass, is there an additional rule created? If so where is the rule? I can't seem to find anything in the other firewall options. Screenshots for reference:
https://imgur.com/a/7bJ4kPA
Logged
BoodahsFever
Newbie
Posts: 30
Karma: 1
Re: Port forwarding not creating any rules?
«
Reply #1 on:
August 25, 2022, 11:23:15 am »
When creating the Port Forward you will have the option to create an associated or unassociated (or none and pass) rule. You can't do that by editing the port forward. You might want to delete and recreated the port forward if you are not sure how to create the rule. I want more control so i create rules manually.
Having said that. If NGINX sees the connection coming in that means the port forward and the rule are working otherwise NGINX would not see the connection coming in right? You can't see what is not there (well usually).
I think you need to look elswhere for solving your issues. Like NGINX -> downstream servers.
«
Last Edit: August 25, 2022, 11:26:33 am by BoodahsFever
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Port forwarding not creating any rules?