R2Northstar / NorthstarMasterServer

Master server for Northstar
MIT License
92 stars 33 forks source link

Reverse proxy feature #75

Closed DxsSucuk closed 2 years ago

DxsSucuk commented 2 years ago

Reverse Proxy

Description

Adds support for reverse Proxies.

This Feature would allow Hosters to use services like Cloudflare Spectrum to hide their Origin IP and protect themself from malicious Attacks.

Note

I am really sorry, but I didn't had the Time to check if this completly works. The only thing that would need to be updated is the Server Registration Request from the Server to the MasterServer with a new query called host. The host can be null.

DxsSucuk commented 2 years ago

After a bit of research and other stuff, this would also need a Server side mod which determins the origin IP of the User, incase of IP-Bans being added. (This may depend on the service.)

For Cloudflare Spectrum refer to this

pg9182 commented 2 years ago

While this is something we are looking to support eventually, it will not be implemented with the current API. We will consider alternative ways to handle this in the future.