Server Over a NAT ?
+ Reply to Thread
Results 1 to 7 of 7

Thread: Server Over a NAT ?

  1. Top | #1
    Fresh Member
    Join Date
    Jun 2010
    Posts
    2
    Threads
    1

    Server Over a NAT ?

    I've been trying for hours to get a simple SH private server going. It's running off my server box which is on a small LAN behind my router.
    • I can connect to the server over LAN.
    • I've tried completely disabling Windows firewall, which is the only firewall that's ever been on my server.
    • I've forwarded 27000-27999 TCP and UDP through my router.
    • Source dedicated server, which apparently uses the same server query protocol as SH, works fine.
    • I've gotten a registration key.
    • The "IP Address" option is set to my LAN IP.
    • The port is 27015. I found that if it was something else like 28015, even I couldn't connect to it. Bug?
    • Does not show up in the server list, even with server_browser_default_filters set to false. I see some other entries in there under my IP but with completely arbitrary ports like 49216, 64387, etc.
    • If 3rd parties try to connect to my server directly by adding it to steam favorites and setting server_browser_default_filters set to false, they see a 2000 ping entry which fails to connect if they click on it.
    • I've verified, using process explorer, that the only ports it's opening are UDP 27015, UDP 27016, and UDP 27017.
    • Even if I run it with steam to get rid of the error messages it still doesn't work.

    Console output:
    Code:
    Verifying server registration key.
    Statistics will be collected by Shattered Horizon Stats Server.
    Server started.
    Failed to load Steam ServiceBOpenService failedServiceStart: failed to startLeve
    l loaded: eva/levels/flipside.evagamestore
    Adding master server 216.207.205.98:27011
    Adding master server 72.165.61.153:27015
    Code:
    Verifying server registration key.
    Statistics will be collected by Shattered Horizon Stats Server.
    Steam client is present.
    Server started.
    ServiceStart: started as local thread
    Level loaded: eva/levels/flipside.evagamestore
    Config file:
    Code:
    // This file was generated by sh_server_gui.exe.
    // Please prefer editing with the GUI.
    
    ip_address "192.168.1.170"
    port 27015
    bandwidth_limit_kbps 1024
    server_mode "public_server"
    server_name "--removed--"
    server_message "--removed--"
    server_graphic_url "--removed--"
    server_info_url "--removed--"
    server_password "--removed--"
    admin_password "--removed--"
    max_players 8
    friendly_fire false
    autobalance true
    anticheat true
    no_damage_mode false
    melee_mode false
    anticheat_ban_time 600
    server_point_limit_min 0
    server_point_limit_max 0
    teamkill_kick_threshold 0.5
    teamkill_ban_time 600
    ping_kick_threshold 500
    afk_kick_time 0
    team_selection_screen_time 20
    round_end_screen_time 8
    match_summary_screen_time 30
    server_registration_key "--removed--"
    
    level_cycle
    {
        level
        {
            level_file flipside.evagamestore
            game_mode skirmish
            round_time_limit 12
        }
    
        level
        {
            level_file iss.evagamestore
            game_mode skirmish
            round_time_limit 12
        }
    
        level
        {
            level_file moondust.evagamestore
            game_mode skirmish
            round_time_limit 12
        }
    
        level
        {
            level_file belt.evagamestore
            game_mode skirmish
            round_time_limit 12
        }
    
        level
        {
            level_file searchlight.evagamestore
            game_mode skirmish
            round_time_limit 12
        }
    
        level
        {
            level_file ten_star.evagamestore
            game_mode skirmish
            round_time_limit 12
        }
    
        level
        {
            level_file slingshot.evagamestore
            game_mode skirmish
            round_time_limit 12
        }
    
        level
        {
            level_file deadeye.evagamestore
            game_mode skirmish
            round_time_limit 12
        }
    }

  2. Top | #2
    Senior Member Unstoppable beta tester
    Join Date
    Apr 2010
    Location
    Las Vegas
    Posts
    458
    Threads
    52

    Re: Server Over a NAT ?

    Went through the same thing. The ip you need to use is the host PC IP. If that doesn't work, try 0.0.0.0 Hope that helps. I'm not that knowledgeable.

  3. Top | #3
    Senior Member Arconaut
    Join Date
    Dec 2009
    Location
    UK
    Posts
    277
    Threads
    25

    Re: Server Over a NAT ?

    I tried putting in the local IP that only works on lan, I tried putting the external IP and that errors and will not even load. I even tried 0.0.0.0 which worked yet still did not show in the list on the internet.

  4. Top | #4
    Senior Member Unstoppable beta tester
    Join Date
    Apr 2010
    Location
    Las Vegas
    Posts
    458
    Threads
    52

    Re: Server Over a NAT ?

    You probably already know this but just in case:

    A Lanbox is just a computer dedicated to providing server support usually to people sharing a network, though you can obviously set it up as a dedicated game server online.

    The game server requires a private ip address; normally your router assigns one to your pc, but you need to setup a static IP such as mine 192.168.1.103 . That is not the same as your default gateway 192.168.1.1 (some are 2.1) You pc ip has to be outside the range of your dhcp range (usually 100 starting at 1 and ending in 100) and remain fixed (static).

    You're not the first person to have trouble. All my settings were correct in the first place, yet I couldn't find my server for almost 2 days. I have no idea why it suddenly worked when it didn't before.
    Last edited by gamesturbator; 06-04-2010 at 09:39 PM. Reason: fluff

  5. Top | #5
    Senior Member Arconaut
    Join Date
    Dec 2009
    Location
    UK
    Posts
    277
    Threads
    25

    Re: Server Over a NAT ?

    Quote Originally Posted by gamesturbator View Post
    You probably already know this but just in case:

    A Lanbox is just a computer dedicated to providing server support usually to people sharing a network, though you can obviously set it up as a dedicated game server online.

    The game server requires a private ip address; normally your router assigns one to your pc, but you need to setup a static IP such as mine 192.168.1.103 . That is not the same as your default gateway 192.168.1.1 (some are 2.1) You pc ip has to be outside the range of your dhcp range (usually 100 starting at 1 and ending in 100) and remain fixed (static).

    You're not the first person to have trouble. All my settings were correct in the first place, yet I couldn't find my server for almost 2 days. I have no idea why it suddenly worked when it didn't before.
    I have had it working before the patch. I am in England, and he is in Florida USA.. We both played in my server testing things out with no issue. But now I cannot seem to get it to register in the list of servers. Something is screwed.

  6. Top | #6

    Re: Server Over a NAT ?

    test with the localhost : 127.0.0.1

  7. Top | #7
    Fresh Member
    Join Date
    Jun 2010
    Posts
    2
    Threads
    1

    Re: Server Over a NAT ?

    All this worry over the IP option is misplaced. The point of the IP setting is for when your server has multiple (connected) network plugs and therefore has multiple IPs. If you don't have multiple IPs then the IP that it puts in there by default is correct.

    The master server doesn't need you to tell it your IP. Every internet message you send has your external IP on it already.
    Last edited by DeathByNukes; 06-05-2010 at 05:35 AM.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts