LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-08-2004, 03:48 PM   #1
dr4gon
LQ Newbie
 
Registered: Jul 2004
Posts: 18

Rep: Reputation: 0
Counter-strike server


Hi, I'm thinking about hosting game-servers after I finish with my current project. So lets say I have a box of my own, I set it up. I make directories 1, 2, 3, 4 Each of those directories I install one instance of a gameserver.

How do I know where to get the ip to target each of those folders? Do I have to pay for those ips? Because I heard you had to pay for them

2nd method

Can I create those same 4 directories, however then use subdomains to route to those directories.

Such as 1.gamerental.com 2.gamerental.com and so on, I don't hvae to pay for these right? Since I am using subdomains. Thanks
 
Old 07-08-2004, 04:31 PM   #2
MrMud
LQ Newbie
 
Registered: Apr 2004
Location: Portland, Oregon
Distribution: Slackware/Mandrake/Redhat
Posts: 21

Rep: Reputation: 15
First of all, I don't play counter-strike, so keep that in mind.

Secondly, I'm assuming that you want this to be available to the internet-at-large.

You'd have to configure the CS server to bind from the IP to whatever the instance of the CS server is installed. I doubt CS servers are smart enough to understand hostnames, in which case you could get away with hosting multiple CS servers on one IP.

Typically, you get 1 ip from your ISP for "free". If you want multiple IP's, you have to pay for a subnet from your ISP. For this, you would most likely need to upgrade your account at your ISP to a business account. Some ISP's may not require this.

As to the subdomains, see my above answer about hostnames and CS servers.
 
Old 07-08-2004, 05:57 PM   #3
dr4gon
LQ Newbie
 
Registered: Jul 2004
Posts: 18

Original Poster
Rep: Reputation: 0
o they can use subdomains, I've seen people use them as the primary address. I'm actually colocating this server I plan to use as well. So cs servers are smart enough to understand hostnames, would that mean I could seperate all the instances of cs servers by subdomains for free? Thanks
 
Old 07-08-2004, 06:12 PM   #4
MrMud
LQ Newbie
 
Registered: Apr 2004
Location: Portland, Oregon
Distribution: Slackware/Mandrake/Redhat
Posts: 21

Rep: Reputation: 15
Well, the important thing to understand is that sub-domains are just names.. they don't really reflect too much on if the CS server can handle it or not.

The question is really if the CS servers are smart enough to understand hostnames, that is:


cs1.yourdomain.com
cs2.yourdomain.com
cs3.yourdomain.com
cs4.yourdomain.com

would all point to a single IP address. When the CS client connects up, it would say "i'm looking for cs1.yourdomain.com", and the cs server would say "Oh, that instance is in this directory..." As I said, I would be surprised if the CS servers supported this.

Also, you could run the CS servers on different ports, if the CS clients can connect up to different server ports automagically.

If you are being colocated, ask if a /29 is included in the colocation fee. This would give you 6 IP's total, and 5 that you could play with. (The sixth would be for the ISP's router.)

*cough*cough*we do colocation*cough*cough*
 
Old 07-08-2004, 07:59 PM   #5
dr4gon
LQ Newbie
 
Registered: Jul 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Hi, o, so I do have to pay for ip addresses then, but if it were smart enough then yeh sub-domains would do fine. O how much do you charge for colocation? Do you have a site with your rates? Where are you guys located at, because there's a one at fremont I can just run to. Oh yeah, ports, are these free? Can I have limitless ports? So like one ip address, thousands of ports = lots of servers? Where do I go to learn how to set up ports per folder? Thanks a bunch

However, I'm very sure I'll use subdomains, because euphNET lan center uses pub1.euphnet.com pub2.euphnet.com

Last edited by dr4gon; 07-08-2004 at 08:02 PM.
 
Old 07-09-2004, 11:05 AM   #6
MrMud
LQ Newbie
 
Registered: Apr 2004
Location: Portland, Oregon
Distribution: Slackware/Mandrake/Redhat
Posts: 21

Rep: Reputation: 15
Ports are on your computer, so there's no charge for them. You can have a large amount of ports on your server, in the range of ~65000.
The ports for folder question is something you'll have to figure out on your own, since that is dependent on what software you are using. In this case, that software would be the CS server.


pub1.euphnet.com and pub2.euphnet.com point to different IP addressess.

Sounds like you are a little new to networking, below are some links to help you understand some things that will be fundemental for you to be running a server.

http://en.wikipedia.org/wiki/Transmi...ntrol_Protocol
http://en.wikipedia.org/wiki/Dns
http://en.wikipedia.org/wiki/Internet_Protocol


//not sure how much longer the mods will tolerate this thread
 
Old 07-09-2004, 03:01 PM   #7
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
I've run many CS servers and what MrMudd is saying is absolutely correct.

The way Counter-Strike Server works is that you have a configuration file that tells the server the port on which it needs to listen. When running multiple instances of the server you can change the port numbers to be different so each server can have different users.

As for connecting to the servers, the CS server registers itself with the master servers by giving it's IP/Domain and the port information. Since this registration happens automaticaly, the only way users need to know your port is if they are adding your server manualy.

Good luck with the server. If you are looking for an easy way to manage your server, I'd suggest the Counter-Strike pluging for Webmin. It works wonderfuly.

Feel free to email me at charon_79(at)hotmail.com with any other questions you might have or with the IP and port so I can play!

Cheers!

MrKnisely
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Counter-Strike 1.5 Server on Mandrake 10 LLIypuk Linux - Games 1 11-22-2004 12:25 PM
Counter-Strike Server HazzGiG Linux - Games 3 04-02-2004 02:13 PM
OpenBSD Counter-Strike server Harpune *BSD 24 01-29-2004 04:00 AM
counter-strike through proxy server ferretmanus Linux - Newbie 0 10-19-2003 06:30 PM
Counter Strike Server Question New 2 The Game Linux - Software 2 08-31-2003 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration