Community discussions

MikroTik App
 
ishanjain
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Tue Sep 29, 2020 8:40 am

Upnp ConflictWithOtherMechanisms Error

Fri Jun 03, 2022 8:32 am

Hey,

I have enabled UPNP on the router running 7.2.3
[admin@Ishan's Mikrotik] /ip/upnp> print
                           enabled: yes
  allow-disable-external-interface: no
                   show-dummy-rule: yes

[admin@Ishan's Mikrotik] /ip/upnp/interfaces> print
Columns: INTERFACE, TYPE, FORCED-IP
# INTERFACE   TYPE      FORCED-IP
0 pppoe-out1  external  117.x.y.z
1 vlan-10     internal

I tried creating some port mappings with upnpc but I get 729 error.


Does anyone know why is it returning this `ConflictWithOtherMechanisms` error ?
wireshark.upnp.png
You do not have the required permissions to view the files attached to this post.
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: Upnp ConflictWithOtherMechanisms Error

Fri Jun 03, 2022 11:54 pm

Try if this gives you some useful info:
/system logging add topics=upnp
 
ishanjain
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 55
Joined: Tue Sep 29, 2020 8:40 am

Re: Upnp ConflictWithOtherMechanisms Error

Sat Jun 04, 2022 9:17 pm

Hey Sob,

This doesn't show anything at all related to UPnP in the logs which is why I had to dive deeper and collect packets.
Also, Maybe I am using `upnpc` incorrectly? I tried it using it like,
upnpc -r 27015 27015 tcp
and this gives the 729 error. But applications like EA Launcher(Electronics Arts games launcher) are successfully able to create port mapping entries.
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: Upnp ConflictWithOtherMechanisms Error

Sat Jun 04, 2022 10:34 pm

Exact same command works here just fine. I found this:
NAT port mapping rules can be created by other mechanisms besides UPnP IGD. Therefore, it is possible that port mappings done by independent mechanisms MAY overlap or conflict. It is left to vendors to determine a suitable algorithm to resolve conflicting mappings. A new error code has
been created (729 ConflictWithOtherMechanisms) in order to allow an IGD to deny a request due to conflict with other mechanisms.
But AFAIK there's no "other mechanism" in RouterOS, only manual dstnat rules, but RouterOS UPnP doesn't seem to care about those. If I add such conflicting manual rule, UPnP will happily add another same one. So that's not it.

Try to capture packets from those clients that work, maybe there will be some obvious difference.

Who is online

Users browsing this forum: 0xAA55, Bing [Bot] and 38 guests