set net_ip 192.168.1.1


(sparky) #1

I was reading [THIS article today and I think that this is the closest to the answer that I can get but some things that are explained are over my head.

Basically, I believe that my config is fine and you may find little differences but I don’t believe that they contribute to my problem. Here’s my config:

applyServerConfig Custom 
si_rules sdGameRulesStopWatch 
si_name "Clean Server"

//config

bot_minClients "0"

g_abilitiesEngineer "building repairing disarming weapon_buff1 gear_head1 landmine left turret2 right extra_plates down"
g_abilitiesGlobal "grenade_shooting hardened_skin power_maximum_increase sprinting_grenade sprinting_reload power_rate_increase silent_movement"
g_abilitiesMedic "revive life_buff1 increase_power2 life_buff2 light_feet1 left metabolism1 right aoe_revive down"
g_abilitiesOperative "spotting hacking disguise_self hack_commandpost hack_turret control_turret_remotely sticky_bomb left caltrop_bomb right"
g_abilitiesSoldier "charge give_ammo armor_piercing_rounds extra_magazine extra_layers1 grenade_mastery grenade_aoe grenade_damage1 search_bodies1 grenade_molotov left grenade_flash right"
g_countdown "0.0"
g_deadSpectateTime "-1"
g_enableIntelGathering "0"
g_enableSuperBuffs"0"
g_enableTeamBuffs "1"
g_gameReviewPause "0.33"
g_password ""
g_spectateFreeFly "1"
g_spectatorMode "1"
g_warmupDamage "1"

net_serverAllowHijacking "0"

si_allowOvertime "0"
si_disableVoting "1"
si_enemyTintEnabled "0"
si_maxTeamSize "5"
si_minPlayers "10"
si_needpass "0"
si_onlineMode "3"
si_playmode "2"
si_rankRestricted "0"
si_readyPercent "100"
si_scorelimit "0"
si_scriptControlledtimeLimit "0"
si_teamDamage "1"
si_teamForceBalance "0"
si_timelimit "20"
si_warmupSpawn "1"

spawnserver mp/terminal

I am starting the server by double clicking on this batch file located in program files (x86)/steam/steamapps/common/brink dedicated server

brink.exe +set net_serverDedicated 1 +set net_ip 192.168.1.4 +set si_name "Brink Dedicated Server 1" +set net_serverPort 27015 +set net_serverPortMaster 27016 +set net_serverAuthPort 8767 +set net_serverAllowHijacking 0 +set win_allowMultipleInstances 1 +exec server.cfg

I tried +set net_ip 192.168.1.4 and I tried +set net_ip 192.168.1.1 but both yield a good lan server but not an internet server. When I try to connect directly using

connect 69.115.123.xxx

xxx=number removed for privacy, I get:
CONNECTION ERROR
Timed Out

This is my first page to my linksys router setup
[URL=http://imageshack.us/photo/my-images/5/unled1rg.jpg/]](http://www.fpsadmin.com/forum/archive/index.php/t-263.html)

Here is my port forward page

As the linked article indicates, I think that I have to somehow let the server know what my external port is as opposed to my internal port.

Firstly, am I 192.168.1.1 or 192.168.1.4?
How can I find out.
Does it matter?

I’ve decided to suffer a bit and get this done. If someone would like to meet me on teamspeak or ventrilo or mumble, I’d appreciate it.


(HugePinball) #2

I’d suspected incorrect port forwarding was your issue. Port forwarding are rules that tell your router to send traffic received on certain ports to a specific computer or device on your local network. Your router’s IP address is 192.168.1.1 so in the images above you’re telling that traffic to go to the router. You didn’t say anywhere if 192.168.1.4 is your PC’s local address, but assuming it is, that’s what you should be putting in for your port forwarding rules.

Also, since you can specify a port range, enter 27015 to 27016 so you don’t have to take up two lines there. Protocol only needs to be UDP for these; having it on both doesn’t hurt anything, it’s just unnecessary.

EDIT: more info:
You don’t need to use net_ip. The net_ip cvar tells the game what local ip/interface to bind to for dedicated or listen servers. The only time you should need to set this cvar is if the machine you’re running the server on has multiple network adapters or multiple local IPs available (possibly the case with some game server hosting services). If you’re just doing this on your home PC, leave it at the default value (localhost) and it will bind to all IPs/interfaces available, and in most cases there will only be one anyway.

It’s net_serverPortAuth, not net_serverAuthPort, and the documentation says it should be set at 8766 (default). However I’m not sure this even matters - as an experiment a week or so ago, I removed the incoming forward on port 8766 in my router firewall, and there have been no apparent issues with the dedicated server I usually have running on my LAN. Maybe it’s outgoing only, or the authentication is being done some other way.


(sparky) #3

This thread can be closed, Deadwalking got my server up and working.
Over my head all the things he had to do but it’s related to port forwarding.
A big thanks to him and the community for stepping up to the base and helping out with their sacrifice of their personal time.
<3