uPnP or something like it?

skwareblox
New member
 
Posts: 2
Joined: Wed Oct 29, 2014 21:14

uPnP or something like it?

by skwareblox » Wed Oct 29, 2014 21:36

Is there a technical limitation as to why something like uPnP or something similar to it can't be implemented for multiplayer? One thing that has always limited me and some of my friends from ever enjoying a game of minecraft or almost any other game is our lack of ability to host a server because of port forwarding since we're not the network administrators.

I understand such a thing is not easy to get working or work properly. However if we look at a game that is also a sandbox game 7 days to die you can easily host a game between friends without the need for forwarding ports so there is a proof of concept there.

I'm just looking for answers as to why such a thing may or may not be possible, if the answer is simply a big no or some overly complicated explanation that goes over my head as to why it's impossible i'll accept that. Also i'm aware it's early development and all of that and i'm not expecting the moon from such an early WIP just looking for answers as i said.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: uPnP or something like it?

by rubenwardy » Wed Oct 29, 2014 21:44

You - by you I mean minetest - would need an NAT punchthrough server. That would get around port forwarding.

As for uPnP, I am not familar with the protocols. I would have to research. uPnP only works on LAN though - the same local area network, so in domestic use the same router.
 

skwareblox
New member
 
Posts: 2
Joined: Wed Oct 29, 2014 21:14

Re: uPnP or something like it?

by skwareblox » Wed Oct 29, 2014 23:21

rubenwardy wrote:You - by you I mean minetest - would need an NAT punchthrough server. That would get around port forwarding.

As for uPnP, I am not familar with the protocols. I would have to research. uPnP only works on LAN though - the same local area network, so in domestic use the same router.


I wasn't sure of the difference between uPnP and NAT punchthrough. But i guess going by that NAT punch through would be more what i'm hoping to get an answer on since i don't like having to play on random servers to enjoy most games with friends.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: uPnP or something like it?

by sfan5 » Thu Oct 30, 2014 10:02

I'm not sure if uPnP does UDP.
Even if it does, uPnP will be disabled or read-only on any properly admistrated network.
NAT hole-punching could work though.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: uPnP or something like it?

by Calinou » Thu Oct 30, 2014 17:42

sfan5 wrote:I'm not sure if uPnP does UDP.
Even if it does, uPnP will be disabled or read-only on any properly admistrated network.
NAT hole-punching could work though.


UPnP PortMapper can do UDP and TCP forwarding.
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 10 guests

cron