Posts: 14
Threads: 3
Joined: Mar 2007
Reputation:
0
03-28-2007, 05:34 AM
(This post was last modified: 03-28-2007, 06:25 AM by Nethouse2000.gl.)
Hey all
Just found out a couple of things :-(
1. Our game servers (centos) re coupled directly to our ISP backbone, no firewall for now.
2. CentOS install was with firewall disabled, no blocking of any ports.
3. My buddy is ALSO unable to connect with rcon...
Sorry about #3, I thought he had rcon access... :-(
This changes of course the whole thread which I also joined, so now my very simple question has to be:
How do I enable RCON on my game servers (i have multible css servers planned og several machines)?
Everything else I have written is of course true. I have full access to the server, but have been unable to rcon to my css servers. I have been able to RCON my CS 1.6 servers btw on the same machine...
I must admit I´m new to CentOS, but I guess that goes without saying when reading my posts :-)
Thanks alot all!
Edit: Just read something about IPtables, could this be a problem without any kind of firewall enabled???
Posts: 57
Threads: 7
Joined: Mar 2007
Reputation:
0
Silly question, but have you set up the rcon password? If not, add:
Code:
rcon_password "yourpasswordhere"
In server.cfg or autoexec.cfg.
Posts: 14
Threads: 3
Joined: Mar 2007
Reputation:
0
Yes I have included the rcon_password, and I have tried to include rcon_address 127.0.0.1 and the ip number as well in server.cfg or autoexec.cfg :-(
I also tired the different commands I found in this forum, at the command promt when logged in at the server, but I guess I'm missing something at the server setup, or do I have to edit anything at the client side?
I'm planning to install mani admin mod later this week, but would be nice to find out why we cannot get rcon to work :-(
And also as I said, rcon works on cs 1.6 running on the same server :-(
Posts: 1
Threads: 0
Joined: Apr 2007
Reputation:
0
Hi guys,Im having the same probs ,ive fwd the correct ports,chkd my router,its fine..i go to my server and type rcon password or rcon address,.then it says cant connect to remote server,then..i insert some simple commads in console..it then comes up with "cant change,not running server"..i mean..wtf? any ideas?
cheers
Posts: 3
Threads: 0
Joined: Oct 2007
Reputation:
0
if you're having trouble make sure your ip in your start line is the ip address in the internal network. so something like +ip 192.168.1.104 instead of the ip address assigned to your home. AND that your TCP ports have been opened correctly.
This got it working for me.
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
gmcd28 Wrote:Hi guys,Im having the same probs ,ive fwd the correct ports,chkd my router,its fine..i go to my server and type rcon password or rcon address,.then it says cant connect to remote server,then..i insert some simple commads in console..it then comes up with "cant change,not running server"..i mean..wtf? any ideas?
cheers
You can't change server variables on the client, you need rcon access.
try type rcon_address <iphere> in the server.cfg, then go ingame open up the console, type rcon_address <sameipasabovehere>, rcon_password <passwordhere>, rcon say test.
Posts: 2
Threads: 1
Joined: Apr 2008
Reputation:
0
04-03-2008, 04:06 PM
(This post was last modified: 04-03-2008, 04:13 PM by gundam.)
server.cfg
// Black-Sky ----- Load Module \\
//---------------------------------\\
//| Made by Drocona |\\
//| ********************** |\\
//---------------------------------\\
// Best viewed wordwrap turned off \\
//------------------------------//**Main Server Config**\\--------------------------------\\
hostname -={TGA}=-RPG+DMServer //Hostname for server.
sv_password //Server password for entry into multiplayer games
//ip 192.168.0.126:27015 //Overrides IP for multihomed hosts (Backup, not needed)
//hostport 27015 //Host game server port (backup, not needed)
sv_lan 0 //Server is a lan server ( no heartbeat, no authentication, no non-class C addresses, 9999.0 rate, etc. )
motdfile motd.txt //The MOTD file to load
mapcyclefile mapcycle.txt //File to load mapcycle from
//sv_downloadurl "http://mywebsite.com/cstrike" //Location from which clients can download missing files
fps_max 1000 //Frame rate limiter
//------------------------------------//**RCon**\\----------------------------------------\\
rcon_address 192.168.0.126:27015
rcon_password //remote console password
sv_rcon_banpenalty 0 //Number of minutes to ban users who fail rcon authentication
sv_rcon_maxfailures 20 //Max number of times a user can fail rcon authentication before being banned
sv_rcon_minfailures 20 //Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
sv_rcon_minfailuretime 20 //Number of seconds to track failed rcon authentications
//----------------------------------------------------------------------------------------\\
//------------------------------//**Main Game Settings**\\--------------------------------\\
mp_timelimit 80 //game time per map in minutes
mp_fraglimit 60 //max number of kills to get before server changes maps
mp_allowspectators 1 //toggles whether the server allows spectator mode or not
decalfrequency 20 //Amount of time in seconds a player can spray their decal
mp_friendlyfire 0 //Allow friendly fire
mp_falldamage 1 //Will players be damaged when they fall a certain distance
mp_footsteps 1 //Makes clients hear footsteps of eachother
mp_flashlight 1 //Allow the flashlight to be used
mp_forcecamera 0 //Restricts spectator modes for dead players
mp_chattime 15 //amount of time players can chat after the game is over
exec cssrpg103.cfg
//----------------------------------------------------------------------------------------\\
//---------------------------------//**Team Settings**\\----------------------------------\\
mp_teamoverride 1 //Allow server to regulate teams
//----------------------------------------------------------------------------------------\\
//-----------------------------------//**System**\\---------------------------------------\\
sv_contact dark_mystic_123@hotmail.com //Contact email for server sysop
sv_region 3 //The region of the world to report this server in.0=US East coast, 1=US West coast, 2= South America, 3=Europe, 4=Asia, 5=Australia, 6=Middle East, 7=Africa and 255=world.
sv_cheats 0 //Allow cheats on server
sv_pausable 0 //Is the server pausable.
sv_filterban 0 //Set packet filtering by IP mode
sv_forcepreload 0 //Force server side preloading.
sv_allowdownload 1 //Allow clients to download files
sv_allowupload 1 //Allow clients to upload customizations files
sv_maxrate 9999 //Max bandwidth rate allowed on server, 0 == unlimited
sv_minrate 4000 //Min bandwidth rate allowed on server, 0 == unlimited
sv_maxupdaterate 33 //Maximum updates per second that the server will allow
sv_minupdaterate 33 //Minimum updates per second that the server will allow
cl_cmdrate 300
sv_unlag 1 //Enables player lag compensation
sv_maxunlag 1 //Maximum lag compensation in seconds
sv_unlag_debug 0 //Debugs lag compensation
sv_alltalk 1 //Players can hear all other players, no team restrictions
sv_footsteps 1 //Play footstep sound for players
sv_voiceenable 0 //Enables voice talking ingame
sv_voicecodec vaudio_miles //Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.
sv_timeout 60 //After this many seconds without a message from a client, the client is dropped
sv_gravity 220
sv_airaccelerate 3000
//----------------------------------------------------------------------------------------\\
//----------------------------------//**Logging**\\---------------------------------------\\
log on //Creates a logfile (Enable= on Disable= off)
sv_logfile 1 //Log server information in the log file.
//sv_logsdir C:\my\other\logdir //Folder in the game directory where server logs will be stored.
sv_logecho 0 //Echo log information to the console.
sv_log_onefile 1 //Log server information to only one file.
sv_logbans 1 //Log server bans in the server logs.
sv_logdownloadlist 1 //Log files to download.
sv_deltaprint 0 //Print accumulated CalcDelta profiling data (only if sv_deltatime is on)
//----------------------------------------------------------------------------------------\\
//----------------------------------//**GE:Source**\\-------------------------------------\\
ge_weaponloadout //Select weapon loadouts
ge_itemloadout //Select item loadouts
ge_gameplay deathmatch //deathmatch, yolt (when killed twice you are out of the round) or test (don't know what this does)
ge_roundtimer 300 //This variable defines how long before a round restart. It's only really useful if you're running the YOLT gameplay. Default is 300 seconds. Please note that this variable is set in seconds and not minutes.
ge_teamplay 0 //This determines whether the current gametype is teamplay, the gamemode must support teamplay. Only ge_gameplay test supports ge_teamplay at this time.
ge_ltk 0 //This determines whether the current gametype is License to Kill. (Get hit you die)
ge_goldengun 1 //This determines whether people will be able to pick up the Golden Gun or not.
ge_allowjump 1 //This determines whether people playing on the server will be able to jump or not.
ge_paintball 1 //Shoot paintballs instead of real ammo (does hurt just as bad as real ammo tho!)
//This variable changes based on which gameplay you're currently running.
//If the gameplay is Deathmatch then:
ge_startarmed 0 //This determines whether the player will start with a knife in their hand (1) or slappers (0). Either way they spawn with both.
//If the gameplay is LTK then:
//This determines whether the player will start with a PP7 in their hand (1) or slappers (0). They do not spawn with a PP7 if it is set to 0.
//Commands that can be used for getting Intel:
//ge_gameplaylist Will show available gametypes
//---------------------------------
what game console say
] rcon_address 192.168.0.126:27015
] rcon_password *****
] rcon say test
Unable to connect to remote server (192.168.0.126:27015)
Forward Port
Firmware Version: v3.37.1
Applications
& Gaming
Wireless-G Broadband Router with SpeedBooster WRT54GS
Setup Wireless Security Access Restrictions
Applications
& Gaming
Administration
Status
Port Range Forward
|
Port Triggering
|
DMZ
|
QoS
Port Range Forward
Port Range
Application Start End Protocol IP Address Enable
CS1 to 27015 27039 both 192.168.1.126 yes
CS2 to 1200 1200 both 192.168.1.126 yes
CS3 to 3724 3724 TCP 192.168.1.126 yes
CS4 to 6112 6112 TCP 192.168.1.105 yes
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
I think it's being blocked in that case cause I think we covered all problems that could arise from the server itself.
Posts: 7
Threads: 2
Joined: Apr 2008
Reputation:
0
Everyone try forwarding either just 27015 or try forwarding multiple ports from 27015- 27035
I don't know if that helps or not... But I had the same problem did that and wala! Fixed.
|