English Port Forward primer!

13 replies
Goto Page
To the start Previous 1 Next To the start
13.01.13 07:53:34 pm
Up
gotya2
GAME BANNED
Offline Off
Often people come to me and ask me why I cannot see their server in the serverlist. This is mostly because either the software firewall isn't configured properly, or the ports aren't forwarded correctly.
Since people are having troubles with opening ports on their router, i will write a short guide on how to open a port on windows, using the command line. I will not dedicate this guide to one router and try to keep it as abstract as possible.

LAN ip
There are two ways of obtaining lan IP, either by assigning static ip's to computers in the network, or by using DHCP to receive automatic lan ip. If you don't know what you're using, you probably have automatic lan ip.

To configure you're router, you need to connect to it using the http ( or ssh ) interface.

1. To find out the ip of the router and your lan ip, press windows key + r and type cmd, or alternatively press start->execute and type cmd. You should see a black terminal, now type ipconfig /all . The results of what you see should be similar to this image:
IMG:http://img26.imageshack.us/img26/2158/portforward1.png

I have drawn a red box around the router ip (Default gateway) , and also around the lan ip ( IPV4 Address ).

2. Open your internet browser and enter http:// + router ip. In my case it's http://192.168.1.1 .

3. The webpage you will see will look different for every router. If you are asked a username and a password, try default username/pw combinations like (user,user) or (admin,admin) or ask someone who knows the combination. For a specific guide for your router, you should visit http://portforward.com/routers.htm.

4. On my Davolink router, i have to go to Advanced Setup -> NAT -> Virtual Servers to reach the port forward page. On my TP-link router it's Forwarding -> Virtual Server. Arriving at this page, you are required to fill in the port forwarding information.
For IP Address, fill in the ip u found at step 1 ( IPV4 Address). For External port/ Service port and Internal port fill in the port number, cs2d's standard is 36963. The protocol for cs2d is UDP.
Warning: The IPV4 Address might change everytime you reboot your computer when you are using automatic IP.
The examples of my two routers are shown in the following image:
IMG:http://img812.imageshack.us/img812/1422/portforward2.png



5. When creating a cs2d server, under port fill in the port that you opened, and enjoy playing
13.01.13 10:45:05 pm
Up
Starkkz
Moderator
Offline Off
Since you have related this tutorial to cs2d, I moved this to the servers section. If DC agreed I would stick this topic.
lol
22.11.13 10:52:56 am
Up
ItsAdamLY
User
Offline Off
Since I don't know how to port forwarding, ( )
I think I really need your help as forward
22.11.13 01:26:18 pm
Up
SaZ Dice
User
Offline Off
thomson and technicolor gateway : http://dsldevice.lan/
other than an IP
23.11.13 04:28:04 am
Up
Reaper
User
Offline Off
But the IP should work always. So there is not really a point to type in e.g. fritz.box instead the IP of the router.
www.cs2d.me has launched - Join Now *CLOSED*
23.11.13 03:06:57 pm
Up
SaZ Dice
User
Offline Off
thanks for information
23.11.13 07:55:05 pm
Up
Jeferes
User
Offline Off
It took me to realize that my server is online, where it was revealed that LAN had a linked server in your internet connection, plus I saw a few that I also gadfly with this problem, Some of my friends who tava creating a server in CS2D were talking about me how to let the server online.
17.02.16 10:05:17 am
Up
Terracraft
User
Offline Off
Suuper late post here,You could always use DMZ if you got problems with port forwarding,you just got add your devices end ip in the router settings !

Also putting your nat settings to the lower security one helps aswell
+ UpnP sometimes too(if cs2d has support for it)

Every router's interface is bit diffrent but the concept is same.

Other routers got more features and others less.

(i needed to wait about 300 seconds to post this *cough*)
IMG:http://steamsignature.com/status/english/76561198065299244.png
IMG:http://steamsignature.com/AddFriend.png
17.02.16 10:19:48 am
Up
Mora_rus
User
Offline Off
Since i had no router it's useless for me?
There are no way to open sv. w/o askin provider and pay +somemoney every month?
17.02.16 10:45:55 am
Up
Fraizeraust
Moderator
Offline Off
@user Mora_rus: It's quite obvious that port forwarding without a router renders the port forward impossible. There needs to be something on your network, whether a hardware network such as a router or a switch (not always) to perform such actions. I do think, there are some tools to do so, you don't need to being worried about NAT although the effects aren't fully guaranteed.

user Terracraft has written:
Every router's interface is bit diffrent but the concept is same.

And everybody knows that. Would be nice if you refrain at reviving old threads like this for almost unnecessary posts.
17.02.16 03:50:46 pm
Up
Black Wolf
User
Offline Off
just when i needed this, ill try this later
come 1n1 skype
25.07.18 01:42:34 pm
Up
Quattro
GAME BANNED
Offline Off
I have a question:
After some days with non default port ping jumps for everyone. For example I normally have 30 ping but now it is always 40. Server restart does't help, only changing port of the server fixes the issue.

What could cause that behavior? Changing ports every week is sad :

More info:
Server ping: 34ms
If I open port 91 CS2D shows 28 ping
If I open port 92 CS2D shows 45 ping
If I open port 99 CS2D shows 34-40 ping

What the....
edited 2×, last 25.07.18 02:17:45 pm
25.07.18 08:32:19 pm
Up
DC
Admin
Offline Off
@user Quattro: CS2D doesn't care about which port you use. It shouldn't have an impact on the ping/latency. I have some assumptions though:

• Something in CS2D is not cleaned up properly. In that case a simple restart of the CS2D server program with THE SAME port should work.

• Other soft- or hardware might be using or checking the port. E.g. there could be an adaptive firewall which checks traffic and builds a dynamic rule set which slows down traffic after some time. This might be running on your server (restarting the machine/vm should help), the infrastructure of your provider or somewhere else.

Also a general hint when working with ports: Avoid reserved port numbers. They might cause issues. Especially the super low numbers between 0 and 1023. You really shouldn't use those for game servers. See: https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_number
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
26.07.18 12:37:59 pm
Up
Quattro
GAME BANNED
Offline Off
@user DC:
We checked all ports with netstat-an before trying. Maybe it's firewall but it only happens in CS2D
To the start Previous 1 Next To the start