I would like to propose adding support for running multiple instances of miniupnpd as well as the ability to select specific input and output interfaces for each instance. Currently, miniupnpd only supports a single instance with a predefined set of interfaces, which can be limiting for more complex network setups, such as Multi-WAN or routing with multiple tunnels (e.g., 6in4, 6to4).
Proposed Changes:
Multi-instance miniupnpd Support: Add the ability to run multiple instances of miniupnpd, each with its own configuration. This will allow users to manage port forwarding flexibly across different WAN interfaces.
Input and Output Interface Selection: In each miniupnpd instance, provide options to specify individual interfaces for inbound and outbound traffic. For example, the ability to designate one interface for incoming connections (WAN) and another for outgoing traffic (LAN).
Justification:
These changes will give users with complex network topologies more flexibility, especially those utilizing multiple WAN interfaces or tunnel connections. This will also simplify UPnP management for home users with multiple internet connections and different traffic types, improving both security and control over network resources.
Thank you in advance for considering this request and for your ongoing work!
I don't know many home user's with multiple wan connections and most would only care it works not which wan it use, and one can use routing tables or mwan3 to take care of that.
even if someone had multiple wan's most would be setup with a fixed line with 4g or 5g failover.
You can specify Multiple input interfaces for lan segments with different port ranges I have a kids and adults lan I can do that below is my config: