Community discussions

MikroTik App
 
rrd
just joined
Topic Author
Posts: 9
Joined: Mon May 09, 2022 6:08 pm

How to properly enable UPnP ?

Mon May 09, 2022 7:10 pm

I have a MikroTik Chateau 5G modem (RouterOS v7.3beta37 (testing)) and many p2p applications require open ports. Previously, this was achieved through UPnP and I had no issues, but since I have MT modem now, UPnP seems to be disabled by default, so I enabled it and set up the required interfaces as it should be (ether1 (external) and created a bridge interface (internal)). But all applications still show that UPnP is not working as it should be and ports are still closed.

Here is my configuration
4.png
Firewall warnings:
in/out-interface matcher not possible when interface (ether1) is slave - use master instead (bridge)
.. image accidentally deleted

Here is what is showing on various P2P applications, such as Soulseek, which gives this error
18:02:45 UPnP: Failed to forward external port 2234: Failed to map the external WAN port: Error code 725: OnlyPermanentLeasesSupported
2.png
1.png
You do not have the required permissions to view the files attached to this post.
Last edited by rrd on Mon Jun 26, 2023 7:17 am, edited 6 times in total.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12001
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to properly enable UPnP ?  [SOLVED]

Mon May 09, 2022 7:29 pm

... as it should be (ether1 (external) and created a bridge interface (internal))
Why "as it should be"? Copy & paste from youtube?

Your external interface is lte1 obviously, and the internal interface (as already suggested from red messages...), is bridge...

But... not all providers offer a public IP, I don't know if that's your case, if not, it probably won't work anyway.
If you see on ip address something like 212.x.x.x probably can work, if not, your connection is already double-natted and upnp can't work.

Too much copy & paste can kill you...
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19321
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: How to properly enable UPnP ?

Mon May 09, 2022 7:32 pm

UPNP is a router service, wouldnt the LAN device(s) need access to the input chain for the appropriate port?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12001
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to properly enable UPnP ?

Mon May 09, 2022 7:37 pm

Hello :)

What's that got to do with it? It's just bad set up. :roll:
 
rrd
just joined
Topic Author
Posts: 9
Joined: Mon May 09, 2022 6:08 pm

Re: How to properly enable UPnP ?

Mon May 09, 2022 8:40 pm

I had tried previously with lte1 as external, ether1 as external, bridge as internal and it still didn't work. My OP is a recent setup after I did a reset. Obviously I had tried many combinations with no success before posting here.
Here I tried that setup again and another one with just lte1 and bridge interfaces. Still doesn't work.
a1.png
a2.png
a3.png
Ports are closed and Nicotine/Soulseek is unable to open the port.

Now there are no error messages in the firewall though and PicoTorrent can open a port.
a4.png
You do not have the required permissions to view the files attached to this post.
Last edited by rrd on Mon May 09, 2022 8:48 pm, edited 1 time in total.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12001
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to properly enable UPnP ?

Mon May 09, 2022 8:47 pm

Really you blur a 10.x.x.x??? Is a private address...


Read everytime all:
But... not all providers offer a public IP...

DST ADDRESS=10.x.x.x

...your connection is already double-natted and upnp can't work...
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12001
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to properly enable UPnP ?

Mon May 09, 2022 8:59 pm

your pc 192.168.8.x -> Router NAT -> LMT NAT 10.x.x.x -> Collective Public IP "random" in 212.3.x.x pool

For open ports, you must ask your provider first to do that on his NAT, out of your control, and later you must open ports on your NAT, under your control.
 
rrd
just joined
Topic Author
Posts: 9
Joined: Mon May 09, 2022 6:08 pm

Re: How to properly enable UPnP ?

Mon May 09, 2022 9:59 pm

your pc 192.168.8.x -> Router NAT -> LMT NAT 10.x.x.x -> Collective Public IP "random" in 212.3.x.x pool

For open ports, you must ask your provider first to do that on his NAT, out of your control, and later you must open ports on your NAT, under your control.
Thanks, that makes a lot more sense. Could this be a temporary problem because of the new 5G (5G NSA) network development that might be fixed in the future? Or is this how simply 4G/5G networks work, with additional NAT on ISP side?
 
Sob
Forum Guru
Forum Guru
Posts: 9120
Joined: Mon Apr 20, 2009 9:11 pm

Re: How to properly enable UPnP ?

Mon May 09, 2022 10:19 pm

It should get fixed eventually with IPv6, new generation of IP protocol that has enough public addresses for everyone. But it's not directly compatible with current IPv4. Until it's everywhere, it will be only worse, because there simply isn't enough IPv4 public addresses for everyone, so ISPs will be saving them and only provide them (at extra cost) to customers who really need them. That's the general trend.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11582
Joined: Thu Mar 03, 2016 10:23 pm

Re: How to properly enable UPnP ?

Mon May 09, 2022 10:22 pm

Could this be a temporary problem because of the new 5G (5G NSA) network development that might be fixed in the future? Or is this how simply 4G/5G networks work, with additional NAT on ISP side?

This is how some MNOs deal with lack of IPv4 addresses, much like some fixed ISPs deploy CGNAT. As @sob wrote ...
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12001
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to properly enable UPnP ?

Mon May 09, 2022 11:38 pm

What many people have not understood, and are only deluding themselves, is that 5G does not give everyone more speed, but only more problems...
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19321
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: How to properly enable UPnP ?

Tue May 10, 2022 12:27 am

Sometimes 5 tetas are better than two ;-). If a cow is feeding many calves of course.
 
kevinds
Long time Member
Long time Member
Posts: 650
Joined: Wed Jan 14, 2015 8:41 am

Re: How to properly enable UPnP ?

Tue May 10, 2022 1:44 am

Thanks, that makes a lot more sense. Could this be a temporary problem because of the new 5G (5G NSA) network development that might be fixed in the future? Or is this how simply 4G/5G networks work, with additional NAT on ISP side?
I've seen this for many, many years... Even 3G networks..

CGNAT unless you pay the provider extra money per month for a public IP.. Even then, they have multiple 'options'.. Static or dynamic IP.. Your own public IP with incoming connections blocked is something I've seen to for example, even more money for incoming connections..

This is only offered by the 'bigger' players though, the smaller networks have no idea what you are talking about and that what you want just doesn't exist on 3G/4G/LTE networks.. To be fair to them though, I've been told this by reps from companies that do offer the feature too.

Here, the first time, Rogers literally transferred me 23 times to get a public IP added to my account, eventually everyone I talked to knew it was possible, but nobody knew how to add it to an account. Bell was less calls, but nobody knew the APN to use after it was added..

Who is online

Users browsing this forum: Amazon [Bot], bertin, Bing [Bot] and 41 guests