Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

noobie take 3: last question i promise! 1

Status
Not open for further replies.

ADoozer

Programmer
Dec 15, 2002
3,487
AU
ok my intention all along has been to create a game server (to be later (maybe) developed into a web server)

problem 1: im having a hell of a time trying to get linux(RH9) to see my connection! (i have a 600k broadband connection, my ethernet card is detected correctly (as far as i know))

problem 2: where should i put my server (relative to my lan)

my setup currently:

previously-->(i had 4 PCs (98 98SE 2k pro XP pro) connected to a router),
now-->i now have 3 PCs connected to the lan (98SE 2k Pro XP pro) and i would like to put my linux server in front of the lan (if that makes sense)

so effectively cable modem-->linux server-->router-->other PCs

can anyone offer up any help sites, etc! i really am out of my depth at the moment!

any books (for begginer->intermediate level) also welcomed

thnx in advance!

If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
come on... get involved!
To get the best response to a question, please check out FAQ222-2244 first
A General Guide To Excel in VB FAQ222-3383
 
Why would you want the Linux Server to be in front of the router?

My setup (and I run a Half-Life server) is:

Cable Modem
|
Router
/ / Linux Win2k

I just forward the game ports off of my router.








 
the reason is quite simply.. i have a very crap router (belkin F5D5230-4.)

i cant even host a game in the DMZ let alone in a virtual server mode with all neccesary ports open!

although im open to all suggestions!!

thnx

If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
come on... get involved!
To get the best response to a question, please check out FAQ222-2244 first
A General Guide To Excel in VB FAQ222-3383
 
Ps: im not very good with networking!

If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
come on... get involved!
To get the best response to a question, please check out FAQ222-2244 first
A General Guide To Excel in VB FAQ222-3383
 
You only mention one NIC in your Linux box, yet your "plan" requires two NICs in the Linux box to perform its gateway'ing function as you propose.

I suggest that you learn the filtering language of that "router" and tell it to stop filtering your necessary ports.

comtec17 is giving you advice you should accept.

If you have DSL, you could consider using rp-pppoe in your linux box, add another nic, and get rid of the router completely. However, that sounds a bit beyond your level of comfort.

Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
thedaver. thnx!

problem 1: im having a hell of a time trying to get linux(RH9) to see my connection! (i have a 600k broadband connection, my ethernet card is detected correctly (as far as i know))

ok let me explain! i have installed RH9 today (with all the hardware supported) yet it would seem that if i plug the box directly into the modem it cannot see the net?!? (maybe somethings not installed/maybe i messed up?!?!?!) (and i have another card exactly the same if i need it)

problem 2: where should i put my server (relative to my lan)

this bit i was hoping someone would say!!! no u do this this and this!!!

all i want really is a server that wil host games (and eventually [maybe] a web server) that i can connect to (and through) with my other macjine...

ps i realise im being a bit ambiguous (spell?!?!) but i really dont know what im looking for exactly!!


ok now going back to your post!

I suggest that you learn the filtering language of that "router" and tell it to stop filtering your necessary ports[/]
in the DMZ... there is nothing to do!! its "supposed" to connect you direct to the modem (as if it wasnt there) (at least thats what the manual says)

as for the virtual server! u enter the IP of the Pc that ports need forwarding!! enter a personal and private port and specift TCP/UDP and thats about it!!!!

i dont mean to sound rude and i respect u are a top member in this forum!

as for pppoe(point to poit protocol over ethernet( i dont know if my ISP supports this!!!)

again thnx... and sorry to bring it back to basics!!

If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
come on... get involved!
To get the best response to a question, please check out FAQ222-2244 first
A General Guide To Excel in VB FAQ222-3383
 
Adoozer, I don't personally mind helping you out, but nobody here is going to hand you the whole enchilada on a silver platter. You have to do some work for yourself...

Forinstance, I googled my way to this discussion about your router

It points out a number of potential issues that might be show stoppers in your quest to build up a game server.

Secondly, you wrote "i cant even host a game in the DMZ let alone in a virtual server mode with all neccesary ports open!"

How did you determine this???? Did you do port scans?

The DMZ is the proper way to implement a game server. It appears doable per this thread:

Finally, I just read the (10MB PDF!) manual for this product. It appears that you must use a statically assigned IP for your game server to work in the DMZ. YOU DID DO THIS DIDN'T YOU?! Further, you must open the ports your require by IP, PORT, and PROTOCOL.
(This isn't normally what an open-use DMZ would look like, but rather port/source routing through NAT, but that's a chop at Belkin, not you.)

Try to google for more on "belkin f5d5230-4 dmz" to see if you can get some comments that will solve the issue.

DO NOT put your linux box ahead of the router, you haven't mentioned any firewalls at all and you'll be asking to get hacked at this stage of your development.

Hang in there. Power to the Penguin!






Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
first off i apologise if thats the impression you get, it is not my intention to have my work done for me.

1st link: i had read this (it was on my google search too), however it doesnt really help me to set my router up (merely points out the short comings which i have stumbled across)

how did i determine this: i set up the router as per the manual and tried to host a game of AVP2 from DMZ and from the virtual server, although it hosted it was only available over my LAN (i made sure it wasnt XP blocking by plugging straight into my modem and hosting, which worked)

10Mb manual, is the same as my paper version, i hadnt read that it has to be static (and i still cant find the bit where it says it)

im at a loss at the moment! if i put the linux box on the lan, im going to run into exactly the same problems with setting up the router!

it would seem my options are, invest in a decent firewall and put linux behind the router? or buy a decent router!

thnx for the help, but im probably better putting this project aside until i have more information!


If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
come on... get involved!
To get the best response to a question, please check out FAQ222-2244 first
A General Guide To Excel in VB FAQ222-3383
 
The static IP reference for the DMZ server is inferred from the manual because you have to specify a distinct IP to be a DMZ-enabled host. This means that you cannot DHCP the IP to your game server and then allow IP:port combos through your router to allow game services.



Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
One thing i know is networking. Not RH Linux (at all).

But i would go out and get a better router. Try a Firewall/router solution. Just remember, NAT does not provide you with security. You may want to look into a Cisco PIX 501 or 506. Also, Netscreen 5XT. They all have multiple ports (with the exception of PIX 506). The XT will allow you to VLAN so you can secure your web/game server from the rest of your network.

I would not suggest putting your box on the outside (unless it's a DMZ) unless you plan on implementing software firewall and closing all ports except the ones needed.

You probably do not have a static IP and THEDAVER is right however, you can have DDNS (dynamic DNS). But you will have to subscribe to a co-host (try no-ip.com) that does this service. Also, get the right router and you can do just about anything you want (with some exceptions to what you buy).

Hope this helps on your networking questions.

BM
 
... First of all, assign a Static IP to your server. (You can either do this on the router or on the server Itself). Then, find out what port your game server uses. Setup a Virtual Server on your router for that port pointing to the IP address you assigned your server. --- Note that your server may listen on a given port but send on a different one, make sure the firewall will not block this outgoing traffic as well.

Read your router docs if you don't know what I'm talking about ... :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top