-
Notifications
You must be signed in to change notification settings - Fork 213
Proxy Server
Game clients can connect to a proxy EmptyEpsilon server as if it were the game server. This can help distribute client connections across multiple servers, and can allow for easier network traversal for clients that can connect to the proxy but not directly to the game server.
Note: The proxy server does not proxy httpserver/HTTP API requests.
-
Start an EmptyEpsilon game server (launch EE, then click "Start Server"). In this example, the game server's IP address is
192.168.0.10. -
To create the proxy server, start another EE instance with the
proxyoption set to the game server's IP address, either in the Preferences file:proxy=192.168.0.10or as a command-line parameter (ie. on Windows, from the directory where EE is installed):
EmptyEpsilon.exe proxy=192.168.0.10Note: Similar to a Headless Dedicated Server, a proxy server does not require and will not launch a graphical client window.
-
Start a player client (launch EE, then click "Start Client").
-
Manually enter the proxy server's IP address; it will not show up automatically in the LAN or Internet server lists.
The player client should now be connected to the game server through the proxy server.
The proxy server can also listen for the game server, which can help with port forwarding or firewall issues as long as the proxy server is running from an accessible server.
For instance, you can use this method to run the game server from your home network, while your players connect to the internet-hosted proxy server to receive updates. You don't need to open or forward ports within your home network, and you can use the GM screen and other server-only functions as if you were running a local network game.
For a more detailed example of a proxy server setup, see Internet Play ‐ Setting up a VPS host#serve-as-a-reverse-proxy-to-a-local-server.
-
Determine the publicly accessible IP address of a server exposed to the internet, such as a virtual private server (VPS). For this example, we'll use the address
203.0.113.0. -
Access that server, whether through SSH or a remote desktop option.
-
On that server, start EmptyEpsilon as a reverse proxy listener by setting the
proxyoption tolisteninstead of an IP address.For example, to start an internet-hosted proxy server on the server hosted at
203.0.113.0, access that server and run:EmptyEpsilon.exe proxy=listen
-
On your local server, start EmptyEpsilon with the
serverproxyoption set to the reverse proxy server's IP address.For example, to connect your local network game server to the reverse proxy we started at
203.0.113.0, run:EmptyEpsilon.exe serverproxy=203.0.113.0
-
Start a server from the EmptyEpsilon UI. On the server configuration screen, confirm that the reverse proxy address is listed.
-
After starting the server and selecting a scenario, connect players to the reverse proxy server.
In our example, players would launch EmptyEpsilon, click the Start client button, and enter the reverse proxy server's IP address of 203.0.113.0.
Your local server should now be controlling the game, and players should now be able to play through the reverse proxy server.
- Home
- ECS
- Stations
- Main Screen/Captain
- 5-6 Player Crews
- 3-4 Player Crews
- 1 Player Crew
- Game Master
- Additional Stations and Views
- Setting up a Game
- Lore
- Expanding the Game
- Additional Features
- Building from Source