| Article Index |
|---|
| Router Configuration to host a TM server |
| Page 2 |
| All Pages |
ENGLISH (next page for german instructions)
Your PC must have a static IP!
For example, if your router has 192.168.0.1 you should have 192.168.0.100, if you have DHCP running, your PC normally get's the same IP everytime...
Then you have to configure your router:
Under NAT you should find Virtual Server or something similar. Make these rules to port trackmania...
192.168.0.X ports 2350 & 2351 for UDP and TCP
where 192.168.0.X is the IP of your PC
-------Private IP-----Private Port---Type----Public Port
1.-----192.168.0.X---2350----------TCP-----2350
2.-----192.168.0.X---2350----------UDP-----2350
3.-----192.168.0.X---2351----------TCP-----2351
4.-----192.168.0.X---2351----------UDP-----2351
Now you're router is configured.
Now Trackmania's config (if you have no static Internet IP, mostly don't) you have to repeat this step EVERY time to reconnect to the internet.
You have to know the IP your ISP has given you. One way to find it is to go to http://www.whatismyip.com
.
Start Trackmania and go to the Configurations Tab of the Network settings.
(don't know the english menu so I hope you'll find it)
Server Port: 2350
Client Port: 0
Local Adress: Yes!
Server Adress: ISP-IP ----- Server Port: 2350
Save the settings and have fun hosting a trackmania server!
The well known "Popgun" wrote me a mail and said:
Your page on setting up a TM server states this "Your PC must have a static IP!". This is NOT true. I run through a router on a dynamic IP and have no problems.
Actually your PC really must have a static IP, the router can have a DYNAMIC one. The router is connected to the internet, not the PC itself. As the name says, the router routes everything to your PC. For TM you have to set up port forwarding in your router, most low-cost routers only forward ports to a static IP, that is the reason why the PC has to have the static one... Only some routers can route the ports for a dynamic range of IP's....
Popguns answer to that:
Of course! You are correct. As a side note, if you have a dynamically assigned IP, and the ISP changes your IP while you are hosting trackmania, all the players will be kicked off over (around) a 30second period. This happens every day for me, mostly after 12 midnight. You then need to restart the server.
DEUTSCH
Als allererstes - dein PC MUSS eine feste IP haben.
Wenn dein Router bspw. 192.168.0.1 hat hast du bspw. 192.168.0.100, wenn DHCP aktiviert ist, dann hast du normalerweise immer die gleiche IP. Wenn ihr euch nicht sicher seid, einfach die n?chsten Schritte machen und schauen ob es klappt.
Normalerweise bekommt ihr immer die gleiche IP zugewiesen.
Nun zum Router:
Unter NAT oder so ähnlich findest du Virtual Server (oder so ähnlich)...
Kann man nicht so genau sagen, da die Konfigurationsmenüs der Router sich meist seeehr voneinander unterscheiden.Erstelle folgende Regeln für Trackmania:
192.168.0.1 ports 2350 & 2351 für UDP und TCP
192.168.0.X ist die IP deines Rechners
-------Private IP-----Private Port---Type----Public Port
1.-----192.168.0.X---2350----------TCP-----2350
2.-----192.168.0.X---2350----------UDP-----2350
3.-----192.168.0.X---2351----------TCP-----2351
4.-----192.168.0.X---2351----------UDP-----2351
Nun ist dein Router konfiguriert.
Nun zu Trackmania:
(wenn du keine feste IP von deinem ISP bekommst - meistens nicht, da seeehr teuer - dann musst du diesen Schritt IMMER wiederholen, wenn du hosten möchtest und du dich neu eingewählt hast!!!)Du musst die IP wissen, die dein Rechner im Internet hat, rauszufinden bspw unter http://www.whatismyip.com
.
Starte TM und gehe in die erweiterten Netzwerkeigenschaften.
Server Port: 2350
Client Port: 0
Local Adress: Yes!
Server Adress: ISP-IP Server Port: 2350
Speichere die Einstellungen und viel Spass beim hosten!
Der allseits bekannte "Popgun" hat mir eine Mail geschrieben:
Du sagst auf deiner Seite, das der "PC eine feste IP haben MUSS". Das ist NICHT richtig. Ich hoste auch über eine dynamische IP und habe keinerlei Probleme.
Tatsächlich sollte der PC dennoch eine feste IP besitzen, der Router kann ruhig eine dynamische haben. Der Router ist mit dem Internet verbunden, der eigentliche PC nicht. Wie der Name schon sagt, leitet der Router die Anfragen lediglich weiter. Deshalb muss man für TM die Port Weiterleitung konfigurieren, wobei die meisten günstigen Router nur an PCs, welche eine FESTE IP haben, weiterleiten können... Nur einige wenige Router können Ports zu einem IP-Bereich (bspw von 192.168.0 - 192.168.255) weiterleiten...
Popguns Antwort darauf:
Natürlich! Das stimmt. Als Randnotiz: Wenn man eine dynamische IP bei seinem ISP (bspw. T-Online, AOL, freenet, ...) hat, und dieser die IP während des Hostens bei TM ändert, so werden alle Spieler etwa alle 30 Sekunden gekickt. Das passiert mir jeden Tag, meistens nach Mitternacht. Man muss dann der Server neu starten.






