The administrator does not have to be near the server, in most cases, all servers are controlled remotely, via a local network or the Internet. It is necessary to take into account the fact that the administrator can manage the server from almost any computer, because. the server restricts access to clients at the level of checking the name and password.
The game server was created for the sake of curiosity, to compare the possibilities. The experiments were carried out on the CS game, acting as a well-known and freely distributed in the form of an installation package for game servers.
Internet connection speed
Server components
External network equipment
The software side of the game server
- how to make a CS server, as well as similar STEAM resources
- launching the cs server, as well as similar STEAM resources
Internet connection speed
It would not be correct to say that powerful servers are not needed for games. Of course they are needed! But not in this case, the basis of my mini server project, then the conclusion suggests itself. We determine the speed of our Internet connection, at a speed of 100 Mbps we get about 3000 - 4000 players on our server in a multiplayer game like Lineage 2, not every server can handle such a load. And if the Internet speed is 15 Mbps, this is about 450 users. This is not such a large number of users and mini servers are quite capable. In games like Counter Strike Source, things are very different. at a speed of 1 Mbps we will get no more than 10 users, it turns out that at a speed of 15 Mbps 80 - 100. I will immediately answer the question: why does the number change unevenly? It's all about the capabilities of your server, not only the Internet itself plays a big role here, but also its stuffing. If you want a server for Counter Strike 1.6, then any old computer or intel Atom, 512 MB of RAM. And this minimum configuration you will be with a large margin.
Game server components
01.DIMM 2Gb DDR2 PC6400 800MHz Kingston(KVR800D2N6/2G)
02. Intel Celeron E3300 2.5GHz Socket-775 BOX (the cooler didn't fit into the case)
03. Cooler for CPU Titan TTC-NK54TZ (S775) low profile
04. MiniITX Foxconn RS-506 250W + Card-Reader Black/Black
05. Zotac NF630I-H-E, NF 630i, GF7100 S775, 2xDDR2-800, WIFi Mini-ITX
06. DVD±R/±RW NEC AD-7240S-0B Black OEM
The system was launched on the same system unit as the Web server due to low power, or rather the fact that the MiniITX Winsis WI-03 Black 200W case did not match its rated power instead of the promised 200W, it gave out 130W, it was replaced by a more powerful MiniITX Foxconn RS-506 250W. In this connection, the slim CD-ROM was replaced with a regular one, and the cooler was replaced with a low-profile one. With the DVD-ROM installed, it was not possible to connect the SATA connector, as well as the power supply.
DSC01929 DSC01941
DSC01932 DSC01933
DSC01940 DSC01939
The photos show a case with a power of 250W. Here you can clearly see how the power and SATA connectors go right above the cooler, as a result of which we had to install a coupler and tighten the wires to the cover of the system unit.
External network equipment
External Internet equipment is an individual matter. To connect the game server, we need a dedicated IP. Dedicated IP is the personal IP address of your computer with all ports open for full access from the internet. Such an address is called static - not changing over time.
game server
fig.1 Scheme of turning on the game server directly to a static IP
The easiest way to connect the server directly (Figure 1), this is convenient if your server functions with which it can handle. But what if you need to run several game servers on 2 machines and 1 site (user registration, project support, help), in such cases 1 server may not be enough. Figure 2 shows enabling multiple servers by managing a master access server. The main server to which other servers or clients connect is called the access server. Today, its role can be easily assigned to a router - a network device that, based on information about the network topology and certain rules, makes decisions about forwarding network layer packets (layer 3 of the OSI model) between different network segments. In other words, it connects several clients to the Internet at the same time. In this case, by the word clients, I mean our servers, because they have a need for general Internet access.
Multiple servers on the same IP
rice. 2 Scheme for enabling multiple servers from one IP
For a better idea of port forwarding, I will describe the principle of action. For example, we have 3 computers that are connected to a router with an IP address of 192.168.1.1, servers have addresses 192.168.1.2, 192.168.1.3 and 192.168.1.4, each of which performs its task, Lineage 2 game server, Counter-Strike Source and Web game server site respectively. The port used for displaying web pages is 80, the port for Counter-Strike Source 27015 and ports 2106 for authorization in the game Lineage 2, as well as port 7777 of the game itself. Based on these rules, we write in the functions of Virtual Servers:
1. 27015 for 192.168.1.2
2. 2106 for 192.168.1.3
3. 7777 for 192.168.1.3
4. 80 for 192.168.1.4