OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Port forwarding and UPnP: Adding a rule after UPnP rules
« previous next »
  • Print
Pages: [1]

Author Topic: Port forwarding and UPnP: Adding a rule after UPnP rules  (Read 3730 times)

netdan

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Port forwarding and UPnP: Adding a rule after UPnP rules
« on: August 05, 2017, 01:32:17 am »
Hi folks!

The os-upnp package is really useful to me. However, I want to add a Port Forwarding rule which has to be loaded after all the other Port Forwarding rules and even after the UPnP rules have been processed. Is there a way I can accomplish this?

What I want to achieve is to redirect all incoming traffic to WAN that don’t have a corresponding Port Forwarding rule and that haven’t been registered in UPnP (the miniupnpd anchor in pf) to a specific host. In some routers this is called a “DMZ host” or a “sinkhole”. I can add a rule at the bottom of the Port Forwarding ruleset that does all I want, except that it breaks UPnP which is normally loaded after all the Port Forwarding rules.

I’m hoping that someone out there can help me in this endeavor!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Port forwarding and UPnP: Adding a rule after UPnP rules
 

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