PDA

View Full Version : Server behind a router


Milenko
January 11th, 2003, Saturday January 11, 2003 07:12:33 AM
FIRST OFF:

Counter-Server cannot provide help with every single make and model of routers. We can provide you with the basic information you need to forward the ports, but you must READ your routers manual or website to find the exact procedure used to forward them. On occasion, we will provide tutorials on how to forward ports for certain routers, but in the meantime, please save some time by reading your routers manual on forwarding ports before you post here. Thank you.



DMZ IS THE EASY WAY OUT FOR INDIVIDUALS THAT DO NOT KNOW HOW TO USE A ROUTER. If you place your server in the DMZ you are completely bypassing your router. You might as well just throw your router away and plug your server directly into your modem. It's doing absolutely nothing for you. If you forward the correct port, ONLY the CS traffic will be allowed into your machine and through the ONE port.

From Linksys (for example)


DMZ Hosting allows one user to be exposed to the Internet, bypassing the Router's firewall security while the rest of the network remains protected.

The DMZ feature exposes a single PC outside the firewall. If you are trying to run video-conferencing or programs that require 10 ports or more to be opened, use the DMZ feature.

Caution! When using the DMZ feature, you do not have firewall protection for that PC.




If you are behind a firewall or router, HLDS will display your INTERNAL IP on the screen, NOT your EXTERNAL IP. This is not a problem.
Go to Gametiger to see your server with EXTERNAL IP.

Originally Posted by Dark Knight
HLDS does it because of the entry in Hosts, where - without any intention, localhost is the first entry. & that resolves just to the internal IP
(Just to be technically complete )




To find your INTERNAL IP:
Start > Run

Type cmd in the open line.

When the console comes up, type ipconfig /all

The IP address listed is your INTERNAL IP.



To find your EXTERNAL IP:

All you need to do is visit http://www.whatismyip.com


<hr>


If you are behind the firewall or router, connect with your INTERNAL IP and PORT

If you are connecting to someone who has a router, connect with their EXTERNAL IP and PORT



Now here comes the important part.

If your server shows an internal IP, theres a good chance that you need to forward ports from your router to your server computer. Please read the other pinned topics on how to specifically do this for your router. The only incoming port that you need to have forwarded is 27015 UDP, (Or whichever port you changed the server to use), but others will argue that you need 27005 UDP open as well for some routers.


This topic has been summarized and moved here from the old board. Thanks to Scorpion, DK and others who contributed to it.

Milenko
January 11th, 2003, Saturday January 11, 2003 07:25:03 AM
Pinned for a quick overview & opened for Mods to correct.
Any other reply gets deleted.
With contributes to Leon Hardwig

--------------------------------------------------------------------------------


Client
======
TCP 6003:
Outgoing connectivity to this port on remote destinations. Used for
chat in the HL browser.

UDP 27011:
Outgoing connectivity to this port on remote destinations. Used for the
'custom game' mod browser.

UDP 27005:
Incoming connectivity to this port (or whatever port the client has
changed this to, if not using the default). Used for game traffic
(including voice) between client and server.


Server
======
TCP 7002:
Outgoing connectivity to this port on remote destinations. Used for WON
auth.

UDP 27010:
Outgoing connectivity to this port on remote destinations. Used for
advertising a server on the master lists for server browsers.

UDP 27011:
Communicating with the BanList Server from YOUR Server
Was formerly 27013 - much in/out traffic too

UDP 27015:
Incoming connectivity to this port (or whatever port the server had been
changed to, if not the default). Used for all client/server game
traffic (including voice), server info requests, etc.


HLTV
====
TCP 7002:
Outgoing connectivity to this port on remote destinations. Used for WON
auth.

UDP 27010:
Outgoing connectivity to this port on remote destinations. Used for
advertising a server on the master lists for server browsers.

UDP 27020:
Incoming connectivity to this port (or whatever port the server had been
changed to, if not the default). Used for all client/server game
traffic (including voice), server info requests, etc.

And also:
5273 TCP is for validating Steam client IDs, and 27012 UDP is for security
modules (CS-only right now).

Steam - CS 1.6
===========
1.6 uses this:

UDP 1200
UDP 27000 to 27015 inclusive
TCP 27030 to 27039 inclusive
and remember: you have to FORWARD the server-port

Originally posted by Dark Knight

Milenko
February 18th, 2003, Tuesday February 18, 2003 01:18:56 PM
I'm locking this topic, if you need any other assistance please create a new thread.

Scorpion
August 25th, 2003, Monday August 25, 2003 06:40:47 PM
Here are some links to your routers website, which you will be able to download the manual and firmware. You are looking to set up either Port Forwarding or Virtual Server:
Linksys (http://www.linksys.com)
SMC (http://www.smc.com/splash.cfm)
D-Link (http://www.dlink.com/)
NETGEAR (http://www.netgear.com/)
Cisco (http://www.cisco.com/)
SpeedStream (http://www.speedstream.com/support/)