Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

Who's Online

UPnP Automatic port mapping support

You are here: Home > Forum > Wishlist > Features wish list > UPnP Automatic port mapping support

Page 1 of 1

UPnP Automatic port mapping support 03/02/2022 at 22:06 #144979
rfw
Avatar
177 posts
UPnP allows programs to set port forwarding automatically on routers
If there was support baked into the SimSig loader it would lower the technical ability required to host a multiplayer game.

Whilst yes, some routers will have UPnP disabled, 3 of the 5 UKs biggest ISPs are known to have UPnP enabled by default on their bundled routers, my previous ISP had no way of enabling port forwarding on their router, but did have UPnP, this would have theoretically allowed to host during my hiatus from the game.
Windows titles their implementation of UPnP as Network Discovery for which users are asked when they connect to a network for the fist time.

I suggest this with two hats on.
Part of me is suggesting this to decrease the technical threshold for hosting games, thus potentially increasing those available <insert concerns from others of those who can't configure port forwarding shouldn't be able to host below>

With my other hat on, I don't like UPnP due to the convenience over security nature of it and that I only thought of this after Eternal Silence came up in my news feeds.

I'm expecting this to be unlikely to get through the scrutineering from this forum and into mantis and even less likely from there into the loader's core code, so here goes nothing.

The train now standing on platform 2, should be on the rails
Log in to reply
UPnP Automatic port mapping support 04/02/2022 at 14:44 #144991
simple68
Avatar
80 posts
Just having a quick google around i found this funky little exe program.
https://www.xldevelopment.net/upnpwiz.php
I don't want to try it out for myself, as i'm fortunate enough to understand port mapping, but if it does what it says it should do what your after

Si

Log in to reply
UPnP Automatic port mapping support 05/02/2022 at 03:46 #145001
GeoffM
Avatar
6376 posts
I did look into this, albeit quite some time ago now. Back then UPnP was not widely supported and code samples specifically commented on how unreliable it was.

I may revisit but don't hold your breath. I looked again yesterday and it's not exactly trivial even now - and unless somebody has better search fu than me, it's a lot of work to convert to Delphi code.

SimSig Boss
Log in to reply
The following user said thank you: rfw