Skip to content

Make UPnP optional for security#339

Merged
kaenganxt merged 2 commits intoCitiesSkylinesMultiplayer:masterfrom
nsekulov:optional-upnp
Feb 20, 2026
Merged

Make UPnP optional for security#339
kaenganxt merged 2 commits intoCitiesSkylinesMultiplayer:masterfrom
nsekulov:optional-upnp

Conversation

@nsekulov
Copy link
Contributor

@nsekulov nsekulov commented Feb 9, 2026

I do not like the fact that UPnP is forced. I play on LAN and don't need to port-forward.

Copy link
Member

@kaenganxt kaenganxt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! I agree that you should be able to disable UPnP.

But I don't agree that this is a security risk. Having UPnP enabled on your router for all devices in the network might be a security issue as malicious actors could open any port. But opening the CSM port automatically is rather low risk.

Most players are not aware of technical network details and probably don't even know what port forwarding means, so I would like to keep it enabled by default.
Could you please change the defaults to enabled?

@nsekulov
Copy link
Contributor Author

I agree with you, I've set the default to enabled.

@nsekulov nsekulov requested a review from kaenganxt February 18, 2026 19:27
Copy link
Member

@kaenganxt kaenganxt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good then, thank you!

@kaenganxt kaenganxt merged commit e6075c2 into CitiesSkylinesMultiplayer:master Feb 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants