OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: hilfubsi on February 08, 2018, 04:04:39 am

Title: os-upnp, how to make it work?
Post by: hilfubsi on February 08, 2018, 04:04:39 am
I have installed the os-upnp plugin. In the install log, it says:

Code: [Select]
For this daemon to work, you must modify your pf rules to add an anchor
in both the NAT and rules section.  Both must be called 'miniupnpd'.
Example:

# NAT section
# UPnPd rdr anchor
rdr-anchor "miniupnpd"

# Rules section
# uPnPd rule anchor
anchor "miniupnpd"

I don't understand what that means, and I don't know what to do with this information. UPnP doesn't work with this plugin installed, and I don't see it in the Services list on the Dashboard.

What am I missing?
Title: Re: os-upnp, how to make it work?
Post by: fabian on February 08, 2018, 05:07:03 pm
I don't understand what that means, and I don't know what to do with this information. UPnP doesn't work with this plugin installed, and I don't see it in the Services list on the Dashboard.
This is a note coming from the miniupnp package. Just ignore it as this stuff is done by OPNsense when the next firewall configuration reload happens.
What am I missing?
nothing
Title: Re: os-upnp, how to make it work?
Post by: hilfubsi on February 08, 2018, 05:12:22 pm
I'm still missing something, shouldn't there be a upnp service running in the services list? I tried running a Transmission client that's supposed to open a port via UPnP, and it says the port is closed.
Title: Re: os-upnp, how to make it work?
Post by: guest15389 on February 08, 2018, 05:20:46 pm
Yes, you need to enable it in the Services:

https://imgur.com/a/BETzE
Title: Re: os-upnp, how to make it work?
Post by: hilfubsi on February 08, 2018, 05:25:22 pm
I didn't have it in the services. I uninstalled it and reinstalled it, now it's there and enabled and working. Thanks!