hacks-cs.clan.su
Wednesday, 24.04.2024, 16:23
Welcome Guest | RSS
Main | File Catalog | Registration | Login
Site menu

Section categories
Plugins [12]
Manual for servers [11]

Counter-Strike 1.6

Statistics

Total online: 1
Guests: 1
Users: 0

Main » Files » Plug-ins for CS 1.6 » Manual for servers

Server in the Internet + Lan
16.10.2011, 13:10

The derivation of the server and the Internet, work with local area network.
Many questions arise, the problems of only 4.
1) parameters.
2) used the patch.
3) you have a ADSL modem or router.
4) you do not have an external IP address, even dynamic. And here only if you book a service dedicated external address from the ISP. Call tech support provider, learn about the provision of external addresses, connect the service, and only then read the decision of the remaining 3 problems.

Startup options, and a patch for Windows. (The problem first and second)
-Console - does not affect network performance, it's just that I will indicate, because I prefer to run the server in konsolke without gui interface. The team only for Windows servers.
+ Sv_lan - COP parameter tells the server that we are working with a local network or not. 1 / 0 - respectively. Here is a big BUT: if you write + sv_lan 0, then the server will not work admin panel and statistics of ip address. Only nickname or Steam ID. That's why we decided to do when playing HL. So put the + sv_lan 1, and that would not seem that here there is a paradox, and we like about the Internet server are talking, and set the LAN mode, saying that 29 patch solves this dilemma by allowing the server to work with local and Internet konnekta .
Caution: This parameter can be no significant or not working at the imposition of different patches. Learn the details of the specifications of each individual patch.
+ Ip - suggest setting is omitted, those who use Windows, and never omitted. He tells the server to which address we will be working. The address must belong to your computer. Since we need to work on all interfaces, ie and the 'Net and lokalke, you can put + ip 0.0.0.0, but what if you can just omit it and the server will default to work on all addresses that "find" on your computer. Unfortunately, the Linux decision has yet been found. If sv_lan 1 go to the server from the web you can, but he himself did not publish. If sv_lan 0 (or if you do not specify this option), there is a problem with the admin - by ip does not work. (Only user name and steam id)

+ Port - parameter specifies which port the server will run. If not specify what will be the default port - 27015. This parameter indicates to what we could do more than one server, and because one port can not hang two servers, you can write 27 016 + port and the server will run on 27 016 port.
-Nomaster - if you do not want that server was visible in the search for servers, favorites or histori COP, please indicate if you wish, what would it hovered there and it could go in search of seeing and not knowing in advance of your address, do not put this option.
Caution: This parameter can be no significant or not working at the imposition of different patches. Learn the details of the specifications of each individual patch.

All other parameters are not critical for the network, we will not consider them. In this forum there is a complete list of options, use search. From our list of options in the collection of approximately look like (for example, but remember that the port and nomaster write only out of personal reasons):-console + sv_lan 1 + port 27 015-nomaster.
Pay attention to the signs "+" and "-" in front of the parameters. They are crucial. Parameters with "+" you can specify in server.cfg. So watch out that they were not there and there, but the values ​​may change and you start to be one of the config and change to another, and will break down.

Close the theme options.

Next we need to find out how you connect to the network (network with a capital letter meaning the Internet).
1) You turn on your computer. To you goes to the computer cable from somewhere in the stairwell. To access the network you need to run something from the desktop or from a network connection (this is something - vpn connection). In this case, 99% of you have an external ip and it is only your own, that is, it can konektitsya and get on your computer. You only need to correctly use a set of parameters, which I described above.
2) You turn on your computer. To you goes to the computer cable from somewhere in the stairwell. You just have internet, but you do not have a router / ADSL modem. In this case, you better read the 4 point problems, written at the beginning of this article, because this is the case. Provider distributes the Internet with their equipment at the entrance and go through it a dozen, maybe hundreds, of users and you have one at all address.

Router or modem. (Third issue)
In fact the problem is because of these two devices occurs because people do not know how they work, but rather a means by which they route traffic. (Traffic - all downloaded / cast volumes of data passing through your device). Would know - do it yourself. Who knows - well done, not necessarily jump out.
The first case: you have a router or modem. you turn on your computer and the Internet already.
Grid options are:
1) the local machine
com address: 192.168.1.2
Gateway address: 192.168.1.1 (internal IP address of your router / ADSL modem)

2) The router / ADSL modem
At the router / ADSL modem has an external address, which they have received from your ISP after ISP connected to the server (there is jam-packed account specified in the contract with the provider, the address of the server. The device itself is connected and monitors the connection).

Internet address can be anything, not only from the ranges:
Quote
192.168.0.0/16 (192.168.0.0 - 192.168.255.255)
маска /16 = 255.255.0.0

172.16.0.0/12 (172.16.0.0 - 172.31.255.255)
маска /12 = 255.240.0.0

10.0.0.0/8 (10.0.0.0 - 10.255.255.255)
маска /8 = 255.0.0.0

- The ranges are reserved for small or large local area networks, office or city scale.
If you have something similar to me of what I design something on your router / ADSL modem configured NAT.
How does NAT and that he is doing (my edition, in simple terms)?:
NAT is a routing protocol. It serves as a local resolver devices (well, let's say) an external address. That is, If you sit for a device with NAT, and you have the address type 192.168.1.2, then NAT all packets going to this address labels and releases to the network already with its external address (external address of the received router / ADSL modem from your ISP). When the packets are returned with the information he verifies the label and, knowing how to come inside address to send packets, sends them to a local address.
Here it becomes clear the problem - people are full of the web to your address, get to the modem, which belongs to your external IP address and everything ... NAT protocol works only in one direction and does not know where to do with packages arriving from outside, without markings. Maximum that can be achieved in this case - to connect to the router itself / ADSL modem, but it is clear that the client is not Counter Strike will =).
Solution and it is very simple - forwarding an external port to the internal address. What does this mean? - Tell again a little theory. All network applications are running on a specific protocol. Whether it's a set of TCP / IP or UDP. (There are, the rest does not interest us). What is the difference in them - we also are not interested. As well as network applications run on any or port. Ports are virtual. For UDP in its classical application of generally no concept of a port, but in the COP, it is - so developers have come up with an exchange between client and server, and why, and why we are also not important. COP runs by default on UDP port 27 015. Options allow you to change the port (read about it in the beginning of the article). The theory is over.
When a client connects to the COP address belonging to the router / ADSL modem to it by the address and the port is still konnekta - that's exactly it and you can learn what to do with the traffic came to the router / ADSL modem! The decision itself sounds simple - to transfer 27 015 of UDP port to the internal address, ie on your computer where the server is running CS.
The implementation. Open your favorite browser, trying to drive there and the default gateway and click on the button <Enter>. Username and password to access where you want to look for (in the documentation are the factory default credentials, or the one who set up, if not applicable). Next, you will find the settings NAT (NAT settings). Each manufacturer is in different places, so there just climb, I think that for half a minute find. Next or Virtual server or Port forwarding - also depends on the device manufacturer. Usually given at least four fields:
- Port Range - external port (we need 27015)
- IP address (Local IP) - to address what to throw (in the example is 192.168.1.2)
- Local Port - port on which the local machine (specify the same as the outer. In your case it makes no sense to put a different value) (27015)
- Select the protocol processing - we need a protocol (UDP)
May still be Protocol No. and Description - not necessarily complete, but diskripshn better record something like "this is a server on my comp kc." The type that would not forget what it was then, and when the icing over time, you may receive a dozen, will be seen that it is + another Adjusters will understand what it is.
After the application and the device restarts probroshen port 27015 and now who will be on this port number and UDP protocol konektitsya to your external address is automatically transferred to your computer, as they say, for NAT `th.

Case two: you have a router or modem. you turn on your computer and that would need to run the Internet was something from the desktop or network connections.
1) Your router / ADLS modem configured in bridge.
2) After starting the connection and in 99% of cases, you will be assigned the external ip and it is only your own, that is, it can konektitsya and get on your computer. You only need to correctly use a set of parameters, which I described earlier in this article.

I write 99%, not 100%, because after that you still can not be given ip looking to the Web, but it would only be another ladder NAT. It all depends on zamorochek provider.

Afterward.
In view of the fact that the ISP limited number of ip addresses that it can deliver to its customers and, as a rule, due to the economic benefits / incentives ip addresses subscribers in less than, then you may be issued dynamic ip address that the next connection will be different . And, let's say you told your external ip to your friend, and after reconnecting the connection to your ISP you have a different address, then of course, that your friend already has the relevant information and not use it ... can not with this too long ago learned how to fight !

Dynamic DNS.
This kind of thing that makes it possible to assign your ip address not just the domain name type bravo.homenet.ru, but still supports dynamic updating of addresses for the domain name. It would not have changed your address, your domain name will always refer to the new address. But should always be running dyndns client (or as it called on dyndns.com - dyndns updater). Probably has all modern routers and ADSL modems have built-in dyndns client. Who does not have a router / ADLS modem or on a device no dyndns client, you can download from the official site. Link
So, how do?
Go to dyndns.com and register. Who sits around a router or ADSL modem in Windows, that HERE. There you can see in the top right corner of the color button labeled child surprises «Download Now» (science of download - download now). Download it. This is exactly the same DynDNS Updater. (400Kbayt weight).
After a call to your account:
1) We look at the menu on the left and click on «My Account»
2) Next in the first column, we click «My Hosts»
3) Then we find on the page «Add New Hostname»
--- A. We see a field for entering the host name and a number in front of the domain, you can choose which name will be. For example, if fit bravo, and choose your domain ath.cx, then the domain name in the end will bravo.ath.cx
--- B. Wildcard you do not, do not check, but I myself did not understand it nafig necessary.
--- C. Service type set Host with ip address
--- D. Further need to specify the IP address that you could start a record in the DNS server. Just an option, and without it you can not complete the creation of a domain. Specify any. You can click on the Use auto detected ip address ... and there put in your current Ip address. But I recommend to change it all, what would have been immediately obvious work dyndns client, after entering the settings in it and checking whether the address is updated or not.
--- E. Tick ​​mail routing you do not need. This is the case, if necessary, that would have passed dns server and the MX record you want to mail servers.
I have to say that many domain names are already taken and will have both a pick and choose from what is. Registered domain names he can not give you.

Thus, the record of the domain name to the DNS server we have created. Now we must learn how to automatically update the ip address in this domain name.

Further instructions for those who can not / do not want to use DynDNS client router / ADSL modem. You downloaded the DynDNS Updater. Run the installer. If you install all the better to leave as there already is, except for the checkmark Install DynDNS Updater as a Windows Service. Then just klatsaem on the button Agree, Next, or whatever else happens that would only set after the program.
Run. Immediately asks username and password - enter the credentials that you just recorded. Then it searches for all of your registered hosts. Finds and lists them. Well there you would probably be a single host. Put a tick. Presses Apply. All. White tick in green circle in the lower left corner of the program indicates that you have all the beam. You can close the window. Its icon will hang in the system tray (near the clock), so that it can be easy to obtain, if necessary. In the program has all the necessary links to manage my account and to add new hosts that would not climb on the site to find where to click there, that would add hosts.

For those who have decided to use the DynDNS client of your router or modem.
... You have to find where these settings in your router / ADSL modem. For example, I use a router Asus WL500W, and I have it on the menu IP Config - Miscellaneous -> DDNS Setting. (Wl500 *, wl600 * do not differ in this respect from wl500w | wl600 *-ADSL modems).
1) On questions like «Enable the DDNS Client?» Betting naturally «YES». I mean, that would not have been such that you forget just enable DDNS client, and setup and sounded surprised to why it is not furychit.
2) Server - chances are you will have to select from the list. Choose www.dyndns.com (modet stand www.dyndns.org - it's their old address, and he's working)
3) User Name or E-mail Address-most likely you will simply User Name, and I'm here and so. Nevertheless, the Asus WL500 * series of authorization by e-mail does not work, so write the name of the user.
4) Hostaname - the one host that we recorded (you can either take you registered) - in the example: bravo.ath.cx
5) Enable wildcard? - We do not need, ie «NO»

All. Click to apply. Reboot the router / ADSL modem and check if your host is updated when you change your ip. Must be all the beam.
Category: Manual for servers | Added by: ^^ADMIRALL^^
Views: 3570 | Downloads: 0 | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Registration | Login ]
Search

Tag Board
200

Our poll
Rate my site
Total of answers: 1506

Login form


Copyright MyCorp © 2024
Free web hostinguCoz