Steam Support Wiki
 
 

Configuring a Router for use with a Dedicated Server

 
 

Conţinutul acestei pagini este moderat atât de Ajutorul Tehnic Steam cât şi de comunitatea utilizatorilor Steam - orice legături către site-urile din afară trebuie tratate cu atenţie.

Ajutorul Tehnic Steam nu vă va cere niciodată parola contului dvs Steam pentru nici un motiv, nici nu vi se va cere vreodată să introduceţi parola contului dvs Steam într-un formular de pe o pagină de internet.

Configurarea unui router pentru folosirea cu un server dedicat

De la 27 September 2007 13:38 (PDT) acest articol a fost reînnoit pe Support-Wikiul Englezesc , dar versiunea reînnoită tradusă a acestei pagini nu este disponibilă deocamdată.

Vă rugăm să citiţi articolul Configuring a Router for use with a Dedicated Server pentru a vedea versiunea reînnoită a acestei pagini în engleză.

Needs to be populated on foreign language wikis

Setarea unei adrese IP statice

Serverul ar trebui să folosească o adresă IP statică .Asta va da posibilitatea altor calculatoare de a vă găsi serverul când se conectează la router.

Singurul mod prin care puteţi avea o adresă IP statică este să plătiţi pentru una prin intermediul providerului dumneavoastră de internet. O adresă IP statică este importantă dacă plănuiţi să ţineţi serverul pornit tot timpul. Folosirea unei adrese IP statice facilitează găsirea uşoară a serverului de către jucători. Adresa dumneavoastră externă curentă poate fi găsită mai jos:


no_whining.jpg

O adresă IP internă se comportă la fel ca una externă cu excepţia faptului că este vizibilă doar din spatele routerului. Trebuie să folosiţi o adresă statică IP internă. Routerul va înainta porturile pentru conexiunile care vin spre o adresă IP specifică. Dacă aveţi IP-ul dinamic , nu este necesar să înaintaţi porturile serverului.

Folosirea unei adrese IP statice în Windows XP

  1. Mergeţi la Start > Run şi scrieţi cmd pentru a deschide command prompt-ul.
  2. Scrieţi în command promt: ipconfig/all. Veţi vedea ceva similar cu asta:
Windows IP Configuration

Host Name . . . . . . . . . . . . : MYCOMP
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No 

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC
Physical Address. . . . . . . . . : 00-80-F6-6A-21-E0
Dhcp Enabled. . . . . . . . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . :  xxx.xxx.xxx.xxx
                                     xxx.xxx.xxx.xxx
NetBIOS over Tcpip. . . . . . . . : Disabled
  1. Notaţi următoarele:
    • IP address
    • Subnet mask
    • Default gateway
    • DNS Servers
  2. Click-drept pe My network places şi mergeţi la Properties.
  3. Click-drept pe Local Area Connection şi mergeţi la Properties.
  4. Selectaţi Internet Protocol(TCP/IP) şi daţi click pe butonul Properties.
  5. Selectaţi "Use the following IP address" şi umpleţi spaţiile cu informaţiile pe care le-aţi notat.
  6. Click peOK şi iesiţi din pagina de configurare a reţelei.

Testaţi conexiunea internet pentru a vă asigura că mai puteţi accesa internetul.Dacă nu , probabil aţi copiat ceva greşit din IPconfig. Verificaţi valorile . Dacă trebuie să vă conectaţi la internet imediat , puteţi face asta ducându-vă înapoi la proprietaţile TCP/IP şi selectând Obtain an IP address automatically.


Setarea router-ului

Mergeţi la site-ul producătorului si asiguraţi-vă că aveţi versiunea de Firmware cea mai nouă pentru router.

  1. Urmaţi instrucţiunile care vin cu routerul pentru a vă înregistra . De obicei , asta se face ori mergând la http://192.168.0.1 sau http://192.168.1.1 şi introducând un username şi o parolă pe care le-aţi specificat deja sau care se gasesc in manualul routerului. Adresa IP şi informaţiile necesare pentru înregistrare sunt diferite pentru fiecare router.
  2. Mergeţi la port range forwarding sau echivalentul pentru router-ul dumneavoastră şi adăugaţi:
Name ServerName
From 27015
To 27015
Check TCP
Check UDP
Destination 192.168.1.100
Enable
  1. Confirmaţi schimbările şi ieşiţi din setările routerului.
  2. Dacă port-ul 27015 nu funcţionează , încercaţi alt port intre 27016-27019 sau 27021-27032

Editarea Server.cfg

Apoi , trebuie să editaţi fisierul server.cfg pentru a reflecta adresa IP a serverului.

  1. Deschideţi server.cfg (de obicei C:\hlserver\valve\server.cfg)
  2. Adăugaţi în partea de sus a fisierului :
    IP <adresa IP> port 27015

Notă: Când porniţi serverul vă va raporta adresa IP internă , nu cea externă.


Note Importante

Dacă aveţi IP dinamic , câteodată adresa IP externă se va schimba , în special dacă re-porniţi sau schimbaţi curentul la modem .De fiecare dată se întamplă asta trebuie să schimbaţi IP-ul în server.cfg pentru a se potrivi cu noul IP extern dacă doriţi ca serverul să funcţioneze bine în continuare.

Dacă aveţi un server şi un client în spatele aceluiaşi router , clientul nu se poate conecta la server prin browserul de servere . De fapt , serverul s-ar putea să nu fie vizibil în browser. Clientul trebuie să se conecteze la server folosind adresa IP internă a acestuia.

Pentru a accesa serverul din spatele aceluiaşi router:

  1. Mergeţi la Steam > Servers > Favorites şi daţi click pe Add a Server
  2. Introduceţi adresa IP internă a serverului şi setările de port în acest mod:192.168.1.100:27015
  3. Conectaţi-vă la server din lista Favorites


Conţinut în engleză de tradus (START)

Setting up a Static IP Address

Your server should use a static IP address. This will allow other computers to reliably find your server when connecting to the router.

The only way to get an external static IP is to pay for one through your internet service provider. A static IP is important if you plan on having your server run all of the time. Using a static IP makes it easy for return players to find your server. Your current external IP address can be found below:

no_whining.jpg

An internal IP address behaves just like an external IP address with the notable exception of only being visible from behind your router. You must use a static IP internally. Your router will forward ports for incoming connections to a specific IP address. If you have your IP setup dynamically, it will not necessarily forward the ports to your server.


Setting Up a Static IP in Windows XP

  1. Go to Start > Run and type in: cmd to open a command prompt.
  2. Type into the command prompt: ipconfig/all.You will see something similar to this:
Windows IP Configuration

Host Name . . . . . . . . . . . . : MYCOMP
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No 

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC
Physical Address. . . . . . . . . : 00-80-F6-6A-21-E0
Dhcp Enabled. . . . . . . . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . :  xxx.xxx.xxx.xxx
                                     xxx.xxx.xxx.xxx
NetBIOS over Tcpip. . . . . . . . : Disabled
  1. Copy down:
    • IP address
    • Subnet mask
    • Default gateway
    • DNS Servers
  2. Right-click on My network places and go to Properties.
  3. Right-click on Local Area Connection and go to Properties.
  4. Select Internet Protocol(TCP/IP) and click on the Properties button.
  5. Select the "Use the following IP address" option and fill in the fields with the respective information you copied out of your IPConfig.
  6. Click OK and exit the network connection page.

Test your internet connection to ensure that you are still able to access the internet. If not, you probably mistyped one of the fields from the IPconfig. Double-check their values. If you need to get back to the internet immediately, you can do so by going back to your TCP/IP properties and selecting Obtain an IP address automatically.


Setting up the Router

Go to your router manufacturer's website and ensure that you are running the most current Firmware available for the router.

  1. Follow the instructions that came with your router to login to it. Typically, this is done by going to either http://192.168.0.1 or http://192.168.1.1 and entering a username and password you have either already specified or can be found in your router's manual. The IP address and login information are different for different routers.
  2. Go to port range forwarding or the equivalent for your router and add a new entry:
Name ServerName
From 27015
To 27015
Check TCP
Check UDP
Destination 192.168.1.100
Enable
  1. Apply the changes and exit the router setup.
  2. If port 27015 does not work, try another port between 27016-27019 or 27021-27032.


Editing the Server.cfg

Next, you must edit your server.cfg file to properly reflect your server's IP address.

  1. Open your server.cfg. (Typically C:\hlserver\valve\server.cfg)
  2. Add to the top of the file:
    IP <your IP address> port 27015

Note: When you start your server it will report your internal IP address, not your external IP address.

Important Notes

If you have a Dynamic IP, from time to time your external IP address will change, especially if you reboot or cycle the power on your modem. Each time this happens you must change the IP in your server.cfg to match your new external IP in order for your server to continue working properly.

If you have a server and a client behind the same router, the client cannot connect to the server through the server browser. In fact the server may not be visible in the server browser of the client. The client must connect to the server using the server's internal IP address.

To access the server from behind the same router:

  1. Go to Steam > Servers > Favorites and click on Add a Server
  2. Enter your internal IP address and port setting in this format: 192.168.1.100:27015
  3. Connect to your server from your Favorites menu



(END) Conţinut în engleză de tradus
 
  Caută  
 

 
  Views  
   
  În alte limbi  
   
 
  link: Valve Software MediaWiki Logo