upnp can be enabled per interface. These may be physical interfaces like the ports on the back of your opnsense or virtual interfaces + vlans.You might need to spend $25 for a cheap managed switch if your opnsense only has 2 ports. Vlans can be difficult to conceptualize but you will get it if you try. Using tagged vlans is actually a great reason to use opnsense. Powerful feature. Lets say you decide to use VLANs, which would be smart (I was dumb).You would just create virtual interfaces that equat to tagged vlans. Then tag the ports on your switch according to what they connect to. Then you can turn on upnp or not per virtual interface at your whim. You can also firewall off the virtual interfaces from each other. BTW - Its already a feature.
I get your anger. I do.
YOU AGAIN!!! Spouting more of your nonsense and gobbledygook.
You leave totally irrelevant comments on things that don't concern you.
Then you type paragraphs that are totally useless to anyone, and just annoying.
By the way there is one other problem with your "add another interface" idea - if the router is not right next to the device that needs upnp, now you have to run an entire new network cable between that device and the router, and in some homes that could be quite costly.
Quote from: comet on November 03, 2017, 06:34:35 amYOU AGAIN!!! Spouting more of your nonsense and gobbledygook.He suggested a perfectly reasonable solution.
The magic words on a forum are "OK. How do I do that?" Try it.
Another newbie chimes in.
Again, unless you are a developer, you really have no business chiming in on this thread
But I don't get why, in this forum, other "newbies" seem to feel it's okay to usurp the role of a developer or an administrator.
do appreciate the link to the Tom's Hardware article, unfortunately that doesn't explain how to set up that type of port blocking in OPNsense. What you and xinnan don't seem to appreciate is that some users of OPNsense have never touched a software package such as this before; our entire prior experience is with off-the-shelf routers, and honestly the documentation that exists seems to be written for advanced users, and doesn't really explain some of the ways things are done very well.
With regard to the port blocking, I could set it up the way I might think it should work, but with my luck whatever rules I made wouldn't do a damn thing and would still allow every device on the LAN to use upnp. I just don't feel real secure about having to guess how such rules should be created.
Maybe you should learn how to use OPNsense first, and THEN rush off and demand new features? Just a thought.
Feature request should go to the plugins issue tracker here: https://github.com/opnsense/plugins/issues/Create a new issue looking like that:Title: net/upnp: your problem hereWrite: add a verbose description what is not working and why this feature is needed.If there is somebody willing to add the feature it may be added.The maintainer of the os-upnp plugin is Franco, who is a core maintainer so his time to work on this plugin might be very limited.
what I would like to see is the ability to create a list of devices (either identified by IP address or MAC address, whichever is easiest) that are allowed to use upnp (or if it's a deny list, then devices on the list would be denied access to upnp, but an allow list would be much easier to work with for most people since usually only a few devices need upnp). Any device not listed on the allow list (or specifically denied on a deny list) would not be able to use upnp.