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:
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:
5. When creating a cs2d server, under port fill in the port that you opened, and enjoy playing