Hi, I have a few friends in Australia, who want to connect to my game server in Vietnam so we can play together. But the direct route from AU to VN has been very slow and unstable for us. We found that if the AU guys connect to a Singaporean VPN first, then connect to my game server, then they would get a lot better ping and stability. But that’s a bit troublesome having to connect to the VPN every time.
I’m thinking about renting a virtual machine in Singapore, then install a network traffic redirect software on it, so the guys would see that VPS server as a game server, and can connect to it, instead of having to connect directly to my server in VN.
But I have no idea what that software is called, or if there is a service in Singapore to do that without having to rent a whole VPS.
Suggestions are much appreciated!
The answer partly depends on the network protocols used by the game server. If it’s http-based, then a reverse proxy like Nginx might work great. Another option is a VPN tunnel from the VPS in Singapore to your server.
I’m not sure what you mean by VPN being troublesome - it should work quite smoothly if it’s configured correctly. It’s usually a 2-3 click process, where you say ‘connect’, and it asks for username/password. Is that not the case for you?
In any case, 1 more idea to what’s posted below (including the posted one):
- NGINX reverse proxy (like /u/NotPrepared2 suggested) - if your game server checks the incoming request for a correct hostname / headers, you would need to tweak it a bit to get it working correctly
- VPN connections between you ↔ Singapore, Singapore ↔ friends, and a router in between. You could deploy a pfSense / vyos instance in a cloud in Singapore, and configure routing on it. This would need some networking knowledge of subnets, routing, VPN, and config of pfSense / vyos (still requires VPN, but a secure connection from beginning to end)