Dsl Ns Server

morphyrichardsmorphyrichards Join Date: 2003-01-13 Member: 12250Members
<div class="IPBDescription">Help setting DSL + Router</div> Hi,
my brother has DSL and dual 1.6 summit processors and he thought why not try a ns server etc. He has a router etc now the problem is, is that the router uses NAT. Now 192.168.1.5 or whatever is the PC's ip address which is a LAN ip address. How does he host a NS server with an internet address?

There are many options on his router virtual servers, firewall settings ( which are both turned off atm ). It's using DHCP atm.

That's all the information i can think of at the moment.

So any ideas/tutorials on this would be greatly appreciated. Thanks.

Comments

  • BioHazardBioHazard Join Date: 2002-11-07 Member: 7495Members
    route your port of 27015 to the machine that sits at the internal ip of 192.168.1.5

    when i ran behind a bad router i had to do that. but i did from ports 27000-28000
    just incase i wanted to run another server from port 27016 or something.

    what type of router is it?
    i may be able to help more.
  • morphyrichardsmorphyrichards Join Date: 2003-01-13 Member: 12250Members
    He's routed traffic on many ports including the ones you have specified. He can see the game himself on internet games and can join it but noone else can. It's a Voyager router. The ip address on the internet games tab he can see is 192.168.1.5:27016 yet if he uses the WAN address nothing shows up.

    Thanks for the help
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    I know you need these ports:
    Incoming UDP to local destination 27015
    Outgoing UDP to remote destination 27010, 27012.
    Outgoing TCP to remote destination 5273.
    Outgoing TCP to remote destination 7002.

    You may also need:
    6003 and 7002 TCP
    or
    6002 and 7003 TCP
  • BioHazardBioHazard Join Date: 2002-11-07 Member: 7495Members
    we opened a large block around the default port to allow for variances of port for multiple servers. try setting your nat ports to forward to your true machine ip.
  • morphyrichardsmorphyrichards Join Date: 2003-01-13 Member: 12250Members
    Thanks for the advise. He has enabled all of the ports you have specified and even tried a DMZ host whcih from what i understand sends all data to the lan computer on all ports. He just doesn't understand, he can create a dedicated server as 192.168.1.5 on ports 27015 and 27016. He can join the game on his own machine on the internet games tab yet when we try to connect to the WAN ip address no server shows.

    Firewall on the router is off. Virtual servers for all of the ports you have specified are on. DMZ is now off since it didn't work.

    What are we overlooking? From what we understand all of the information from the router is being directed to the lan machine on the ports you have said. If this is the case why can't anyone see our machine <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->

    Any more advice would be greatly appreciated.

    Thanks.
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    Have you tried putting "+ip <your WAN IP HERE>" in your start up command line? For example:

    ./hlds_run -game ns +ip 208.28.184.222 +port 27015
  • morphyrichardsmorphyrichards Join Date: 2003-01-13 Member: 12250Members
    Yes ive tried that and it comes up with UDP opensocket error unable to open desoginated ip port.
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    you cannot use +ip to bind to another devices interface.

    i am doing the exact same thing you are but ppl connect to my server just fine.

    if you type status it says the ip is 127.0.0.1

    but with won its 24.242.209.60:27015
  • morphyrichardsmorphyrichards Join Date: 2003-01-13 Member: 12250Members
    127.0.0.1 isn't my ip isn't that like a default thing if summits not connected ive seen ti before.

    192.168.1.5 is my lan ip and shows when i boot the server

    the wonip ( external ) ip wont work with halfllife noone can see my games.

    Everything is forwarded to the correct ports..it's just not working.
  • TheGivingTreeTheGivingTree Join Date: 2003-01-09 Member: 12070Members
    Hey since we are talking about routers and DSL, can anyone help me? I have the worst router ever, I have to unplug it every like hour cause my ping flys up to 2000 or It just disconnects cause theres to much info coming in or something, I have no idea how to fix it nor do I have an idea what to do so if anyone could help i would appreciate it (= thanks. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
  • Max1Max1 Join Date: 2002-11-08 Member: 7730Members
    edited January 2003
    What kind of router

    and why are you talking about 127.0.0.1, thats a loopback address
  • TheGivingTreeTheGivingTree Join Date: 2003-01-09 Member: 12070Members
    i got a Linksys router
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin--|Max|+Jan 17 2003, 12:55 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (|Max| @ Jan 17 2003, 12:55 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->and why are you talking about 127.0.0.1, thats a loopback address<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    *sigh*


    typing status in the console when connect to my server will say 127.0.0.1

    i know what i'm talking about here. unless the computer you are hosting the server on is DIRECTLY connected to the internet (acting as a router or co-location program) you cannot use the +ip feature.

    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->TheGivingTree  Posted on Jan 17 2003, 01:09 AM i got a Linksys router<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    set your sv_maxrate to 3000 and you'll be fine. I have a Linksys as well and nobody believes me that its a cable server.
  • verboseverbose Join Date: 2002-11-25 Member: 9968Members, Constellation
    edited January 2003
    The complaints about Linksys "Cable/DSL" routers are valid. I have one at home that acts up occasionally. The switching portion continues to function, but it won't route a bit of traffic, or respond to traffic directed at it. Fixed immediately by power-cycling it. The best I've got out of Linksys support is to "leave it unplugged overnight." And, it seemed to work; went a few weeks without acting up again. I think it was a coincidence, unless they have some massive capacitors in there or something that hold bad data/whatever for hours without power. Some days, it seizes up several times at random. Currently, I think it's been going for about 2 weeks without problem, but immediately prior to this run was a few days of hell. It might also be junk floating in over my cable connection that locks it up; haven't taken the time to test that theory. Other than the seizing problem, it works great.

    For prospective buyers, I would recommend buying a different brand. I have read several reports by others with the same Linksys problem. I'm about ready to junk mine and put the FreeBSD box back that the Linksys replaced. I swapped out to use less power, and to cut down on fan noise.
  • Max1Max1 Join Date: 2002-11-08 Member: 7730Members
    yes, +ip is for when your server is connected directly to the internet and has several ip addresses. it wont work for when your server is behind a router or firewall
  • Mr_GentleMr_Gentle Join Date: 2003-01-13 Member: 12262Members
    edited January 2003
    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->set your sv_maxrate to 3000 and you'll be fine.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    I know this has got to be annoying having someone asking stupid questions, but where do you find that at? <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->

    Also, how exactly does port forwarding work? This is what my router shows -



    ........Ext. Port ..................Protocol TCP ........... Protocol UPD......... IP Address ...........Enable
    ______ to ______...........X (check box)..........X (check box)......... __________ ..............X


    Will this solve my problem on why my NS server doesnt't show up to internet users?

    Any suggestions would be greatly appreciated =)
Sign In or Register to comment.