SunQuest
           Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old June 24th, 2003, 01:55 PM
AGibel's Avatar
AGibel AGibel is offline
Bad Andy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: OH
Posts: 275 AGibel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
DHCP get out of firewall

Okay, so does anyone know about DMZ hosting. I beleive it is the means by which I shall acomplish my server goals. I'm big on Counter-Strike so I decided to make a feeble attempt at a dedicated server w/ an old PC I have. I'm currently using a router though, so the firewall makes it hard and/or impossible to do this.(everytime I make a server like this, it gives me my internal IP as the host address). So, I would like to do a DMZ host, which is essentially taking down all protections for the given IP address specified to this one computer. I use a cable modem, so my IP needs to be auto obtain. However, it is said that if I use DHCP that it will not matter if I speicify a static IP or not. However, I am very unfamiliar w/ DHCP. I just know that the router uses it and it comes enabled by default. So if anyone can point me in the right direction, I would appreciate it.

Reply With Quote
  #2  
Old June 25th, 2003, 07:38 AM
sikkert sikkert is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 13 sikkert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I think all of this pretty much comes down to you router. I have never done this myself, but it seems to me that you need to set up your router to forward all traffic on the port's used by CS to a spesific IP, and set up your CS server with this IP. Then you can give out your official IP for connecting to your server, and the router should then forward all CS related business to the set IP. Also, if your router contains a firewall, you must make sure that the firewall allows connections to the CS port's to pass through.

As for opening up for all kinds of traffic to your CS server, I would REALLY not recomend that!!!!! Never open ANYTHING more than you need! The less things open, the less chance of being attacked by virus/crackers etc.

Reply With Quote
  #3  
Old June 25th, 2003, 09:36 AM
AGibel's Avatar
AGibel AGibel is offline
Bad Andy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: OH
Posts: 275 AGibel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Well, thats the thing. I really don't care if someone hacks the crap out of it . I'll take my chances if it would be easier to set up

What you say makes sense, but I wouldn't really know how to do that on my linksys router. Also, I assume that the port CS uses is 27015 most of the time since the standard game server IP is ***.***.***.***:27015. When you say set my IP, that would be my internal no? My ISP would give me an IP which I assume would be the one I would give out. Thanks for the help btw, this doesn't seem to be a popular topic on this board lol

Reply With Quote
  #4  
Old June 25th, 2003, 12:52 PM
sikkert sikkert is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 13 sikkert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Yes, by "set your IP" I mean your internal IP. Your official IP (which you give out to others to connect to) is given to you by your ISP, and you cannot change this.
This internal IP also have to be an unofficial one, like 10.x.x.x or 192.168.x.x

Since you say you have a router for you internet connection, and you plan to run a CS server, I assume you have something like a DSL/cable connection.
Have you gotten your router from your ISP? If so, ask them how to set this up. If you have bought it yourself, you should have a manual that should cover this.
The point is, when your router get a request on the CS port (27015), it needs to know where to send this connection. My guess is that you need to tell your router to send such requests to a specific internal IP (the IP of your CS server), but since I've never done this myself, I can't say this with 100% certainty.

Hope this helps!

Reply With Quote
  #5  
Old June 25th, 2003, 01:58 PM
AGibel's Avatar
AGibel AGibel is offline
Bad Andy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: OH
Posts: 275 AGibel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
hmm. Well, my router(which I bought myself) suggests to use a DMZ host like I said above. By specifying the comps IP(I use 192.168.1.10) the DMZ is supposed to ignore firewalls when dealing w/ this IP. Now, i think I may have gotten this to work, but am not sure yet. I have set the internal IP manually, put in the DNS info from my ISP etc. And I can still see the outside(Internet etc.) so I'm under the impression that it worked? i really don't know how to test it. DSLReports.com claims that I am still unpingable, so I dont know.

Reply With Quote
  #6  
Old June 25th, 2003, 02:40 PM
sikkert sikkert is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 13 sikkert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well, you should always be able to get out on the net from internal (at least on "normal" things like web and mail), so that doesn't give you more than the fact that you CAN get a line, but not WHAT can get that line.

The DMZ sounds OK, but that doesn't mean that your router is forwarding request's to your server correctly, just that your server won't use the firewall.

DSL reports that you are unpingable on your router IP? That can mean that your router is set up to not answer on pings. Unless CS need to get a ping answer, that isn't anything to worry about.

As for testing, I guess the easiest way is for you to get a friend to try and connect to your server. If that doesn't work, I suggest you go over your manual again, and try to find out how your router handles externally initiaded requests (does it ignore, does it forward to all internal etc).

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > DHCP get out of firewall


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway