Help With Server--indirect Internet Access

Zero_GambitZero_Gambit Join Date: 2003-03-16 Member: 14593Members
hey, whats up people. Ive been trying to set up a dedicated server, but im having a little problem. At home, i have a two computer 'network', in which one of the computers connects directly to the internet, and then provides internet access for the other one. I have been trying to set up the server on the computer that is not directly connected to the internet, but people have been unable to connect to it, (4 retries on console, not even fining it on list, even with 'add server'). I tried creating it on the computer that IS connected directly, with no problems. Does anyone know how i could get the server to work on the computer that is NOT connected directly? thanks.

Comments

  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    Yes, you have to forward the ports the hlds needs, don't ask me how.. it seems you are using ICS (Internet connection sharing).. it would be alot easier if you got a router or hub
  • Zero_GambitZero_Gambit Join Date: 2003-03-16 Member: 14593Members
    thanks, but i dont think i can change to a router or anything. The odd part is, i had it working a few days ago, people were able to join and everything, but now its impossible. I think it may have something to do with the 'indirect' computer having an ip not starting with 200--- back when i had it working, the ip DID start with 200, although im not sure how this could affect the server. Any ideas? thanks.
  • CheesyPetezaCheesyPeteza Join Date: 2002-11-24 Member: 9784Members, NS1 Playtester, Constellation
    I have never done this, but I can tell you some things you will need to do:

    First find out the IP address of the main computer. When you start hlds add +ip xxx.xxx.xxx.xxx to the command line.

    You will have to tell the main computer to forward access to all the ports hlds needs to your computer. I don't know what they are, they have been mentioned in these forums a few times. Do a search and you should find them.
  • Zero_GambitZero_Gambit Join Date: 2003-03-16 Member: 14593Members
    hey people, thanks for the help, but ive been looking around the forums, and i havent been able to find any topic relating to ics. Could anyone help me out with this plz? also, thanks cheesy, but i went to whatismyip.com on the 'indirect'computer and it turns out that 'officially', its ip is the same as the main computer's. When i tried what you said, the server gave me an error about not being able to create the server at that ip, or something like that.
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    <!--QuoteBegin--Zero_Gambit+Dec 3 2003, 10:31 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Zero_Gambit @ Dec 3 2003, 10:31 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> hey people, thanks for the help, but ive been looking around the forums, and i havent been able to find any topic relating to ics. Could anyone help me out with this plz? also, thanks cheesy, but i went to whatismyip.com on the 'indirect'computer and it turns out that 'officially', its ip is the same as the main computer's. When i tried what you said, the server gave me an error about not being able to create the server at that ip, or something like that. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Okay, im going to refer to the computer running ICS as A, and the other as B.
    On the B computer, check the IP by running cmd, then ipconfig
    also verify that there is no firewall
    On the A computer, disable any firewall, and figure out how to forward ports

    Try having people connect directly to the IP address..
    Is it possible to switch the order of the computers, so that the B one connects directly to the internet? That would make it easier
  • Zero_GambitZero_Gambit Join Date: 2003-03-16 Member: 14593Members
    hey again man. A--- computer that connects directly to the internet, and 'gives' internet to B. B just recieves internet. I checked my ip on ipconfig for comp B, and it gives me the 'internal' ip. When checking my ip on whatsmyip.com, i get the 'real' ip, but this ip is the same as the ip of comp A. Now, when creating the server on comp B, it creates it on the 'internal' ip, i think thats why people over the internet cannot see or join this server. I looked up port forwarding all over the internet, but from the little info i managed to gather, i need some type of router or hub to have the option to forward ports. I have none of these; it is a direct networkcard to networkcard connection. I cant switch computers, because comp B is a really old one, able to run a server, but barely able to actually display ns. is there any way to give comp B a new 'real' ip that is different from that of comp A, or something like that? or is there another way of setting this up? thanks again man.
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    Ok, your confused
    What computer "A" does is take the info from B and change the info in it- computer A and B will ALWAYS have the same IP - but only when you get it from whatismyip.com
    DO what I said above, then get back to me
  • Zero_GambitZero_Gambit Join Date: 2003-03-16 Member: 14593Members
    hey again man, sorry about the late reply, anyways, here goes: Ive checked comp B's ip with ipconfig, but all i get is the ip starting with, i think--dont have it in front of me right now, 192 (the network ip). on comp B, ipconfig will only dispay that ip. I have a firewall on comp A, but i have disiabled it for testing on this server, so it should not be able to affect anything. As for the port forwarding, i can't do it, seeing as i need a router or hub to be able to. Any ideas? thanks again man.
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    ICS was not designed to do what you are asking it to do. If you want a reliable server you have to get a router or use a program that allows you to forward specific ports such as wingate or something along those lines. Also, with two windows servers, one as your gateway and the other as your server you are asking for double trouble where reliability comes in.

    If a router isn't possible you might want to look into making one of the machines a linux box; this can be your "router", hlds server, connection sharing and firewall all in one.
  • Zero_GambitZero_Gambit Join Date: 2003-03-16 Member: 14593Members
    hmmmm---does something like wingate work even if you dont have a router? Also, what confuses me most is when i first got my server up, it actually worked for a day or so, then it just stopped working for no apparent reason, without me changing anything. I dont mind it being slightly unstable tho, it is mostly for my friends' and personal use, so it isnt even online all the time. So anyways, based on the fact that it worked prevously, i know there has to be a way to get it to work again..... aargh this makes no sense! if wingate doesnt require any additional hardware, ill check it out, thanks man. anyways, if you think of anything else, please let me know--thanks again people.
  • Zero_GambitZero_Gambit Join Date: 2003-03-16 Member: 14593Members
    ok, finally got it to work!!! if a moderator reads this, plz sticky it. Anyways heres the way to create a working dedicated server on an ics machine (with help from the server.counter-strike.net forums)

    quote:
    --------------------------------------------------------------------------------
    To add a service definition
    Open Network Connections.
    Click the shared connection or the Internet connection that is protected by Internet Connection Firewall, and then, under Tasks, click Change settings of this connection.
    On the Advanced tab, click Settings.
    On the Services tab, click Add and enter all of the following information:
    In Description of service, type an easily recognized name for the service.
    In Name or IP address of the computer hosting this service on your network, type the name or IP address of the computer that runs the service.
    In External port number for this service, type the port number that external computers will use to contact this service.
    In Internal Port number for this service, type the port number that the service on your network is using.
    Click either TCP or UDP.

    now, the ports you have to do this to are the following:
    2705
    27015
    27010-27020
    6002
    7003

    Works perfectly
    i hope i was able to help somebody with this. Merry X-Mas everyone!
Sign In or Register to comment.