Add some guidelines for LAN and WAN server

This commit is contained in:
Benau 2020-07-10 19:55:28 +08:00
parent bd897e390c
commit 51b50a27cd

View File

@ -12,6 +12,8 @@ You are required to have an stk online account first, go [here](https://online.s
It is recommended you have a saved user in your computer to allow hosting multiple servers simultaneously with the same account, if you have a fresh STK installation, first run:
If you intend to keep your server always on (24x7) you are required to implement port forward / direct connection with NAT penetration in your network, we will regularly remove any servers not following this rule.
`supertuxkart --init-user --login=your_registered_name --password=your_password`
After that you should see `Done saving user, leaving` in terminal if it successfully logged in.
@ -210,7 +212,9 @@ Everything is basically the same as WAN one, except you don't need an stk online
`supertuxkart --server-config=your_config.xml --lan-server=your_server_name --network-console`
In LAN network it is required that the server and server discovery port is connectable by clients directly, no NAT penetration will be done in LAN.
For LAN server it is required that the server and server discovery port is connectable by clients directly, no NAT penetration will be done in LAN.
LAN server can be connected too by typing your server public address (with port) in ```Enter server address``` dialog without relying on stk-addons.
------
After the first time configuration, you can just start the server with the command: