Please Help, Router Problems

MrPsychoMrPsycho Join Date: 2002-11-01 Member: 2977Members
I've been trying to get this to work for days. Maybe there is some command I am just not finding.
<!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' valign='absmiddle' alt='asrifle.gif'><!--endemo-->
Anyways I read this faq online for setting up hl servers behind a firewall:
<a href='http://www.ladreamteam.org/HLDSRouter.htm' target='_blank'>http://www.ladreamteam.org/HLDSRouter.htm</a>

You don't need to read it, but I'm just referencing where I got my help from.

So I did everything the faq says but I still get this problem. When the dedicated server loads, it still says:

Server IP address 192.168.0.100:27105

As a result, this is the number it sends to the master server, and the master server filters it out and does not list it.

However, if I call up one of my friends and he adds my WAN IP (68.98.29.39) and the port he can join just fine. So I know the server settings and nat routing is working, the hlds just won't accept the ip command.

The IP address 192.168.0.100 is a number outside the DHCP range of my router, which is what the FAQ I listed aboved said to change my static IP to. ---Let me rephrase, the FAQ said I should change my TCP settings so that it now uses a static IP address which is outside the DHCP assigning range of my router.

The actual LAN IP of the server pc is 192.168.0.71 - but this really doesn't matter.

The point of explaining this is that the hlds takes the IP address that is assigned in the TCP IP settings of Windows, and calls that its ip address.

<i>Even though </i>, I assigned it my external ip in the server.cfg settings (in NS directory).

I've tried a number of variations on changing all these settings, and nothing works.

Let me list some more info in case you need it.
----
Here is the shortcut I use:
C:\SIERRA\Half-Life\hlds.exe -game ns -port 27105 +map ns_bast +maxplayers 8 -noipx

In server.cfg I have added the following commands:
ip "68.98.29.39"
port "27105" //(redundant, I know, but I put it here again anyways)


Here's a dump of the console when the hlds runs:

<i>93.1 fps 0( 0 spec)/ 8 on ns_bast
Added packfile C:\SIERRA\Half-Life\valve\pak0.pak (3453 files)
Protocol version 46
Exe version 1.1.1.0
Exe build: 13:27:08 Jun 11 2002 (2056)
WON Auth Server
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : language.cfg
Server IP address 192.168.0.100:27105
No IPX Support.
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/sentences.txt
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/shell.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/shockwave.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/w_weaponbox.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/zerogxplode.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/WXplo1.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/bloodspray.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/blood.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/laserbeam.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/laserdot.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/explode1.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/hgibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/agibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/metalplategibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/fleshgibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/computergibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/glassgibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/cindergibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/rockgibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/ceilinggibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/woodgibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/lgtning.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/xenobeam.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/common/bodysplat.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/turret/tu_fire1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/turret/tu_active2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/turret/tu_die.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/turret/tu_die2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/turret/tu_die3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/turret/tu_deploy.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/turret/tu_spinup.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/turret/tu_spindown.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/turret/tu_alert.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/buttons/spark1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/buttons/spark2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/buttons/spark3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/buttons/spark4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/buttons/spark5.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/buttons/spark6.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/weapons/debris1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/weapons/debris2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/weapons/debris3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/sprayer.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_fallpain2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/common/npc_step1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/common/npc_step2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/common/npc_step3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/common/npc_step4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_dirt1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_dirt2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_dirt3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_dirt4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_duct1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_duct2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_duct3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_duct4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_grate1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_grate2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_grate3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_grate4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_slosh1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_slosh2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_slosh3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_slosh4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_tile1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_tile2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_tile3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_tile4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_tile5.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_swim1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_swim2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_swim3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_swim4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_wade1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_wade2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_wade3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_wade4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/wood1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/wood2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/wood3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/plats/train_use1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/glass1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/glass2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/glass3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_pain2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_pain4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_pain5.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_pain6.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/pl_pain7.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/geiger6.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/geiger5.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/geiger4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/geiger3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/geiger2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/player/geiger1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/common/null.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/items/suitchargeok1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/common/bodydrop3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/common/bodydrop4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/buttons/lever4.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/buttons/lightswitch2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/bustmetal1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/bustmetal2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/metal1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/metal2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/metal3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/bustcrate1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/bustcrate2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/bustflesh1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/bustflesh2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/bustglass1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/bustglass2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/bustconcrete1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/bustconcrete2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/bustceiling.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/flesh1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/flesh2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/flesh3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/flesh5.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/flesh6.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/flesh7.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/concrete1.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/concrete2.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sound/debris/concrete3.wav
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/shell.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/shockwave.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/w_weaponbox.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/zerogxplode.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/WXplo1.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/bloodspray.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/blood.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/laserbeam.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/laserdot.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/explode1.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/hgibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/agibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/metalplategibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/fleshgibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/computergibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/glassgibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/cindergibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/rockgibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/ceilinggibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : models/woodgibs.mdl
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/lgtning.spr
PackFile: C:\SIERRA\Half-Life\valve\pak0.pak : sprites/xenobeam.spr
Adding master server 198.74.32.53:27010
Adding master server 198.74.33.62:27010
Adding master server 198.74.32.52:27010
</i>

----

Any suggestions would be much appreciated. Maybe there is some command I'm missing. Thanks for reading the lengthy post.

Comments

  • EpyonEpyon Join Date: 2002-11-01 Member: 2255Members
    Got the same problem. Could not figure it out.
  • EpochEpoch Join Date: 2002-10-10 Member: 1474Members
    If you have a spare box you could always build a Linux router and run your server on that. Sorry if it's not the answer you're looking for. Just a thought.
  • saiyrsaiyr Join Date: 2002-11-03 Member: 5653Members
    Running HLDS would mean it was Windows, wouldn't it? Or am I dumb?
  • MrPsychoMrPsycho Join Date: 2002-11-01 Member: 2977Members
    Sorry I forgot to mention I'm using a half-life retail installation on a windows xp machine.
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    Try this:

    C:\SIERRA\Half-Life\hlds.exe -game ns +ip 68.98.29.39 -port 27105 +map ns_bast +maxplayers 8 -noipx
  • Crazed-OneCrazed-One Join Date: 2002-11-05 Member: 7027Members
    Post back here if you get positive results, w/ the ip showing up correctly with Gamespy. I tried forever to get it to list right through a gateway router, the only answer I got was listing it like Vadakill says with the +ip After that you wont see the server on a server refresh but supposedly anyone outside your network should see it. I want to run a dedicated here in New Hampshire but had same problems with it showing up.
  • MrPsychoMrPsycho Join Date: 2002-11-01 Member: 2977Members
    I'm not too familiar with the syntax of hl commands, so a couple days ago I had tried entering -ip 68.98.29.39 in the shortcut command string, without knowing that it should be +ip.

    Today I tried that, and guess what?

    I get an error. I wasn't able to get a dump (I'll try to get one later) but the error generally said that it was unable to assign an open port to the ip address. I think since the hlds program has to go into "port listen mode" where it waits for an active connection, it has to open port 27105, and its confused because it cannot set that port on the given IP address because that address is controlled by the router. -Instead of just opening the local port 27105 and broadcasting the given IP address to the master server.

    Is there some way I can broadcast an IP to the master server using some other program? Thats the whole problem; the fact that running a server behind a router will get you removed from the master server list (because of the LAN IP you are sending it).


    This is rediculous. Errr. More people must have this problem?

    I'm reading up on how to install linux so I can put it on my server and get rid of this crappy windows. <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' valign='absmiddle' alt='mad.gif'><!--endemo-->
  • wilsow3wilsow3 Join Date: 2002-11-03 Member: 5841Members
    Try setting your internal ip to be a dmz host in the router. This should forward all the ports of your external ip right to your server. Also try haveing the +ip xxx.xxx.xxx.xxx without the +port 27015 line. Its not the port that's the problem usually.
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    Try this, it's for the linksys router but it should give yout he basic info you need:

    <a href='http://server.counter-strike.net/downloads/linksys.zip' target='_blank'>http://server.counter-strike.net/downloads/linksys.zip</a>
  • MrPsychoMrPsycho Join Date: 2002-11-01 Member: 2977Members
    Here is a dump of the error I get after adding +ip 68.98.29.39 to the shortcut:

    <i>0.0 fps 0( 0 spec)/ 8 on
    Protocol version 46
    Exe version 4.1.1.0
    Exe build: 13:27:08 Jun 11 2002 (2056)
    WON Auth Server
    couldn't exec language.cfg
    WARNING: UDP_OpenSocket: port: 27105 bind: WSAEADDRNOTAVAIL
    FATAL ERROR (shutting down): Couldn't allocate dedicated server IP port
    </i>

    So it must be ignoring the command when I put it in the server.cfg . When I put it in the command line of the shortcut, thus forcing it to use it, it crashes.

    wilsow: Putting the IP in the dmz will not matter, because the router port forwarding is working fine. I don't need to forward all the ports- just 27105. Thanks anyways.

    Remember, the server works fine (people can join from the net) it just isn't listed on the master server.
  • PaegusPaegus Join Date: 2002-11-02 Member: 5306Members
    you need to forward these ports to your NON-DHCP IPed server:

    6003 TCP (Titan.. /me shrugs)
    7002 TCP (Authentication port)
    27010 UDP (Master Server List port)
    27011 UDP (mod list port)
    27012 UDP (not yet though.. VAC isn't working)
    27015 UDP (game server port)
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    <!--QuoteBegin--MrPsycho+Nov 7 2002, 03:57 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (MrPsycho @ Nov 7 2002, 03:57 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->WARNING: UDP_OpenSocket: port: 27105 bind: WSAEADDRNOTAVAIL
    FATAL ERROR (shutting down): Couldn't allocate dedicated server IP port
    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Nope your firewall is definately blocking you. Turn off the firewall, completely. It's not going to hurt you to shut it off for 15 minutes while you test this out. Restart your server and see if the error reproduces it self.
  • Crazed-OneCrazed-One Join Date: 2002-11-05 Member: 7027Members
    6003 TCP
    7002 TCP

    Hmm I never forwarded those ports last time, after I finish unpacking maybee Ill give that a try.

    How much to build a passable linux box for maybee 14/14 max on 368k both ways for speed. Can it handle it, really want to put up a dedicated server for NS.
  • MrPsychoMrPsycho Join Date: 2002-11-01 Member: 2977Members
    edited November 2002
    Thanks for the port list. I forwarded all of those this time, but unfortunately it didn't make a difference.

    I'm still tweaking; maybe I'll get it to work. In the mean-time I'm setting up my linux box to see if this works any better. I've never tried linux before, so I'll probably be back soon. If you guys can think of anything else just reply. You've all been really helpful with your suggestions.
Sign In or Register to comment.