I have a question regarding the UPNP service on a Mikrotik router.
I have got one ether1 NIC with multiple external ip addresses (connection to the Internet).
And i have multiple internal NIC’s- ether3, ether 4 which are connected to different internal networks 192.168.0.0 and 192.168.1.0
Im using two srcnat NAT rules which allow Internet acccess to those internal networks (each of the internal networks uses a different external ip address on ether1)
So my question is- how to configure two UPNP services.
I can add two external interfaces with forced external ip addresses. (UPnP interface settings)
I can add two internal interfaces where both internal networks are connected. (UPnP interface settings)
Will the UPNP service understand on which external ip address should the ports be dynamically forwarded to the internal IP using UPNP ?
I have essentially this same question. I’m setting up one router for 4 apartments, each with it’s own subnet and NATed to one of 4 IPs on the WAN interface. This allows me to control the download speed to each apartment in another router at the head end. But I would like to enable UPnP for all 4 apartments. So in my setup, I would need the UPnP for NAT 1 to create forwarding rules related to WAN IP 1, NAT 2 UPnPed with WAN IP 2, Etc.
I don’t think you can do it. I don’t see any option to bind specific external and internal interface. Even manual says there can be only one external interface:
It’s just not enforced and you can create more. You may try to send feature request to MikroTik and hope they’d find it useful.