GetDotted Domains

Viewing Thread:
"IP Routing"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Tue 17/12/02 at 11:16
Regular
Posts: 787
Heres A challenge for all you geeks

does anyone know if it posible to use ip routing in windows xp or 98
Fri 10/01/03 at 13:57
Regular
"Win Suxs,Linux Rulz"
Posts: 78
thanks guys i'll try that and if any of u play cs often and are pretty good but not in a clan e-mail me on [email protected] as i'm looking to recruit some more people for my clan
Fri 10/01/03 at 09:54
Regular
"bing bang bong"
Posts: 3,040
To tell which of your connections is external, and which is internal, click on Start, then run. Type in "command" (no quotation marks), and in the DOS prompt that appears type in "ipconfig", which should display details of your two connections. Both with have an ip address - if one of the ip addresses is 10.x.x.x, 192.168.x.x or 169.254.x.x then that connection is a LAN connection, and your other connection is the Internet Connection.
Fri 10/01/03 at 09:40
Regular
"bing bang bong"
Posts: 3,040
Alright, I'm going to assume you have Windows XP installed on both your internet server and your Counterstrike server. Should you have another version of Windows installed on your Counterstrike server, the process described below is quite similar.

You need to set up static internal ip addresses for both machines. Computers find each other via their ip addresses - a static ip address never changes. Your Internet Server will have two ip addresses - one for the other computers on your home network, one for the internet. It is the bridge between those two networks.

Certain ranges of ip addresses are reserved for local networks. If you are communicating with 10.x.x.x for example, you can be sure it's not outside your local network. Windows seems to like the range 192.168.x.x, so I'm going to use this one. If your private network already has a (different) ip address policy, you will want to either change the tutorial to match the network or vice-versa. A group of computers on 10.x.x.x and another group on 192.168.x.x won't be able to communicate with each other, so be sure not to blindly follow these instructions if it's going to break your network.

Setting up the Counterstrike server:

Assuming your Internet Server will be 192.168.0.1, it makes sense to make your CS server 192.168.0.2. Under Windows XP, go to the Control Panel, then Network Connections. Right-click on your LAN connection (hopefully it should be the only connection present) and hit properties. Select TCP/IP in the dialog that appears and hit the properties button for that. Check the box which says "Use the following IP address:" and enter 192.168.0.2 for the ip addy, 255.255.255.0 for the subnet mask, and 192.168.0.1 for the Default Gateway. Also check the box marked "Use the following DNS server addresses:" and enter 192.168.0.1 as your preffered. The Default Gateway is the address of the computer your CS server will send all outbound traffic to, and the DNS server is the machine your CS server asks "where do I go to find www.ukchatforums.com?". Now you need to set up your Internet Server to handle these requests.

Before attempting to do this, you will need to know what ports/protocols your CS server communicates on. The possible protocols are TCP and UDP (I'm guessing UDP, or perhaps a mixture) and there could be one or more ports of each open. Whilst playing a game of CS, remote clients will be sending and receiving traffic from your server. Outbound traffic from your server is already dealt with (well it will be when we set it up) - anything your CS server needs to send to the internet in general gets passed to the Default Gateway (your Internet Server), which passes it on to the next level up and so on. Incoming traffic is harder to deal with, as outside clients have no way of directly addressing your Counterstrike server - all traffic goes through your Internet Server, which is the only computer on your private network to also have a presence on the Internet. Clients will be sending UDP packets to your Internet Server, which won't have the first clue what they are and will just discard them. What you need to set up is some kind of relay, so that when clients starting spamming packets to a specific port on your Internet Server, it will say "Aha! I know what these are!" and pass them on to your Counterstrike server. This is called port-forwarding, and the first thing you need to know is what ports to forward!

I'm going to assume you want to forward TCP port 5678, and UDP port 3456 to your Counterstrike server (I made them up, so don't copy me). Any traffic that arrives on port 5678 with a TCP stamp on it will get sent on to the CS server, regardless of source.

On your Internet Server, navigate to Control Panel -> Network Connections. You should have TWO connections this time - one for your subnet, one for your internet connection. If you don't know how to tell which one is which, see the next post after this one (made by me :O). Right-click on your LAN connection -> properties, and again select TCP/IP and hit properties. Select "Use the following ip address:" and enter an ip address of 192.168.0.1, a subnet mask of 255.255.255.0, and leave the default gateway blank (the gateway should be set-up by the other connection). Hit OK on both those dialog boxes, and then right-click on your Internet connection, and go to properties. DON'T go to TCP/IP properties (your TCP/IP details will be set up automatically by your ISP when you connect - changing them would disconnect you) but go to the Advanced tab. Check the box marked "Allow other network users to connect through this computer's Internet Connection" and uncheck the box below it (about control/deactivation of the connection) to turn your computer into an Internet Gateway/DNS Server. The Settings button at the bottom should now be active. Click on it. This is where you enable port forwarding.

In the Advanced Settings dialog box you have a list of services you can port forward just by checking a box. Chances are "CS Server" isn't there, so you will need to add it. Click on the Add button. If you wanted to enable forwarding of TCP port 5678, you would enter something like "CS Server TCP" in the box marked "Description of Service:", in "Name or IP address" enter 192.168.0.2 (the computer the packets are to be forwarded to). The External Port is whatever port the packets are received on the Internet Server (so type in 5678) and the Internal Port is whatever port to forward the packets to on the CS Server (again, 5678). Protocol is ofc TCP. Okay that, and all traffic on port 5678 will get forwarded.

Set up all your port forwarding you need to do (by doing multiple Adds), and click OK on all your dialog boxes. That, in theory, should be it.
Thu 09/01/03 at 09:19
Regular
"Win Suxs,Linux Rulz"
Posts: 78
i could use a walkthough plz
Wed 08/01/03 at 18:08
Regular
"bing bang bong"
Posts: 3,040
steve1030_uk wrote:
> Yes I know that but how do you set it up???
>
> i want to be able to run a counter-strike dedicated serveron a
> computer on the network which people can access throught the internet


With Windows XP set-up on your gateway machine, you should be able to forward whatever port to your Counterstrike server (which can then reply via its default gateway - the WinXP machine). I don't have WinXP to hand, so I can't be precise, but right-click on your internet connection in Network Connections and select properties. It's somewhere in there.

How much do you know about this? Do you need a walkthrough?
Wed 08/01/03 at 15:38
Regular
"Eff, you see, kay?"
Posts: 14,156
Just because you haven't got the skillz andi.

I'm sorry I can't help, I do my IP routing with Linux. Phil might though, I'll stab him for you.
Wed 08/01/03 at 14:36
Regular
"How Handy."
Posts: 2,631
I think we all should ignore him, as he called us geeks. I'm no geek. Turbonutter on the other hand...
Wed 08/01/03 at 10:40
Regular
"Win Suxs,Linux Rulz"
Posts: 78
Yes I know that but how do you set it up???

i want to be able to run a counter-strike dedicated serveron a computer on the network which people can access throught the internet
Tue 17/12/02 at 15:29
Regular
"bing bang bong"
Posts: 3,040
Both Windows XP and Windows 98 support Internet Connection Sharing, and Windows XP has some pretty easy to use port-forwarding abilities.
Tue 17/12/02 at 11:16
Regular
"Win Suxs,Linux Rulz"
Posts: 78
Heres A challenge for all you geeks

does anyone know if it posible to use ip routing in windows xp or 98

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

LOVE it....
You have made it so easy to build & host a website!!!
Gemma
My website looks tremendous!
Fantastic site, easy to follow, simple guides... impressed with whole package. My website looks tremendous. You don't need to be a rocket scientist to set this up, Freeola helps you step-by-step.
Susan

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.