Community discussions

MikroTik App
 
volkirik
Member Candidate
Member Candidate
Topic Author
Posts: 208
Joined: Sat Jul 23, 2016 2:03 pm

feature request: UPNP interface list support

Fri May 13, 2022 1:42 pm

feature request: UPNP interface list support

we have multihoming setup and each wan interface has NAT enabled.

I would request if you can add interface-list support to UPNP server?

for example we could setup LAN as internal and WAN interface-list as external and it would add firewall rules with interface-lists

Thanks
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: feature request: UPNP interface list support

Fri May 13, 2022 3:06 pm

You can still use the interface-list within the firewall rules,
and manually configure the multiple WAN within the UPnP.
I don't think you change, add, remove WAN continuosly....
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: feature request: UPNP interface list support

Fri May 13, 2022 6:05 pm

UPNP is simply a service provided by the router.
So you need to decide which IPs, interfaces etc should have access to the service!
As rexentended states, its all capable within firewall rules, using a combination of interface lists and firewall address lists as required.
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: feature request: UPNP interface list support

Fri May 13, 2022 8:03 pm

and manually configure the multiple WAN within the UPnP.
And does it do anything useful? It seems that it just randomly(?) picks one, so it's not very useful.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: feature request: UPNP interface list support

Fri May 13, 2022 11:55 pm

and manually configure the multiple WAN within the UPnP.
And does it do anything useful? It seems that it just randomly(?) picks one, so it's not very useful.
¯\_(ツ)_/¯ is the OP request...
 
volkirik
Member Candidate
Member Candidate
Topic Author
Posts: 208
Joined: Sat Jul 23, 2016 2:03 pm

Re: feature request: UPNP interface list support

Sat May 14, 2022 5:17 pm



And does it do anything useful? It seems that it just randomly(?) picks one, so it's not very useful.
¯\_(ツ)_/¯ is the OP request...
i dont request random interface selection. we have 5 wan interfaces currently (and it is increasing). all of them are in WAN interface list.

I just want upnp service to use interface list instead of interface names. neat.

ports should be opened on each and every WAN interface, so load-balancing could work with UPNP
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: feature request: UPNP interface list support

Sat May 14, 2022 6:24 pm

@rextended: I believe that OP wants something that can actually be useful. Current UPnP adds dstnat rules with in-interface=<external interface>. If it was possible to choose address list as external interface, it could add rules with in-interface-list=<list of external interfaces>, which would make port forwarding work from all. So at least at first sight it could make sense.

One problem I see is that client can also get external address from UPnP, and I don't know if there's any support for multiple addresses. If not, it hurts the usefulness. If UPnP client opens port, gets external address and sends it to remote party, so that it can connect to it, and it will be just one address, then possibility to have incoming connections using other WANs doesn't help anything.

Who is online

Users browsing this forum: No registered users and 19 guests