![]() ![]() LAN server can be connected too by typing your server public address (with port) in Enter server address dialog without relying on stk-addons.Īfter the first time configuration, you can just start the server with the command: Supertuxkart -server-config=your_config.xml -lan-server=your_server_name -network-consoleįor 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. Hosting LAN (local internet) serverĮverything is basically the same as WAN one, except you don't need an stk online account, just do: Notice: You don't need to make any firewall or router configuration changes if you connect to the recommended servers (marked with ☆★STK★☆). You may also need to handle the server discovery port 2757 for connecting your WAN server in LAN / localhost. For example, in Ubuntu based distributions, run the following command to disable the firewall on that port: The current server configuration xml looks like this:Īt the moment STK has a list of STUN servers for NAT penetration which allows players or servers behind a firewall or router to be able to connect to each other, but in case it doesn't work, you have to manually disable the firewall or port forward the port(s) used by STK.īy default STK servers use port 2759. network-console should not be used if you run supertuxkart server later with systemd service, see issue #4299. It will create that xml configuration file if not found in current directory, you can type quit in terminal, than you can edit that file for further configuration as required. Supertuxkart -server-config=your_config.xml -network-console Supertuxkart -init-user -login=your_registered_name -password=your_passwordĪfter that you should see Done saving user, leaving in terminal if it successfully logged in. 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. 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: You are required to have an stk online account first, go here for registration. Yum install gcc-c++ cmake openssl-devel libcurl-devel zlib-devel enet Hosting WAN (public internet) server ![]() Yum install wget cd /tmp wget rpm -Uvh epel-release *rpm ![]()
0 Comments
Leave a Reply. |