Page 1 of 1

Please add support for Upnp.

Posted: 18 May 2021 01:28
by traincrazy
I really wanted to host a server online, however my ISP does not allow for portforwording. In the past I have been able to host servers in other games thanks to Upnp being supported in them. I think it would be a good way to allow more people to host servers without having to mess with all steamworks stuff.

Re: Please add support for Upnp.

Posted: 18 May 2021 03:26
by kamnet
The developers are working on a new networking protocol that will provide players an alternative to setting up port forwarding, and also doesn't require Steam.

Re: Please add support for Upnp.

Posted: 18 May 2021 10:11
by peter1138
Well, uPNP is generally considered harmful... https://www.howtogeek.com/122487/htg-ex ... rity-risk/

Re: Please add support for Upnp.

Posted: 18 May 2021 16:44
by pelya
kamnet wrote: 18 May 2021 03:26 The developers are working on a new networking protocol that will provide players an alternative to setting up port forwarding, and also doesn't require Steam.
I'd like more details about this. STUN/TURN/ICE client? Or some 3rd party library?

Re: Please add support for Upnp.

Posted: 18 May 2021 21:04
by 2TallTyler
Here’s the PR with a full explanation: https://github.com/OpenTTD/OpenTTD/pull/9017

Re: Please add support for Upnp.

Posted: 12 Aug 2021 01:02
by mauried
Normally if your ISP doesnt allow port forwarding, its because you are using whats commonly called CGNAT, which stands for Carrier Grade Network Address Translation,which means you dont have a public IP address.
This is common with Internet supplied by wireless.
If you do have a public IP then you can port forward by simply manually adding the port redirection in your own router,which is what UPNP does but automatically.
UPNP wont help if you are using CGNAT.