SRCDS Steam group


Port forwarding issues EDIT: Server does not show up in master list
#1
Sad 
Alright, this is my first time running a server ever, so please bare with me xD.
I've set up a TF2 server on another computer on my network following the instructions on these forums, and all the necessary ports have been forwarded on my d-link WBR-2310 router for 192.168.0.100 (1200, 27000-27015, 27020-27039) and the server.cfg is in order as it has been taken from another server that has worked and changed for my needs.


.jpg   router1.jpg (Size: 135.86 KB / Downloads: 17)
.jpg   router2.jpg (Size: 125.34 KB / Downloads: 9)

I'm able to join the server, however others outside my network aren't. The actual IP of that computer is the IP of the actual server so I'm not sure what's going on.

Also, when I'm in my console trying to change maps, turn on sv_cheats, etc through rcon, I get this error:
unable to connect to remote server (24.**.130.**:60083)

Any help would be greatly appreciated! Big Grin
Reply
#2
You have to make sure they are connecting to your external IP address, and not that 192.168.1.x one. That is a private address.

You need to make sure before you enter RCON commands to issue these 2 commands:
rcon_password passwordgoeshere
rcon exec server.cfg

Hope this helps Big Grin
Reply
#3
Beaverbeliever Wrote:You have to make sure they are connecting to your external IP address, and not that 192.168.1.x one. That is a private address.

You need to make sure before you enter RCON commands to issue these 2 commands:
rcon_password passwordgoeshere
rcon exec server.cfg

Hope this helps Big Grin


I'm sure I'm connecting to the computer's external IP, as the external IP of the computer the server is running on is 24.**.130.**.

And when I type in the rcon exec server.cfg I still get the "unable to connect to remote server (24.**.130.**:60083)" error. The fact that it says the port is 60083 makes me think I'm doing something wrong with the ports still.

Thanks!
Reply
#4
Post your server's startup line.
I also happen to have just upgraded to a high-end Dlink. I'll take a look when I get back tonight and tell you the best way to do it.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#5
Mooga Wrote:Post your server's startup line.
I also happen to have just upgraded to a high-end Dlink. I'll take a look when I get back tonight and tell you the best way to do it.

G:\HLserver\orangebox\srcds.exe -console -game tf -hostport 27015 +maxplayers 24 +map ctf_vikings_final

Once again, thanks a lot =D
Reply
#6
Hello test -port instead of the -hostport in your startup command. Try also to add the + ip to your internal ip!
Reply
#7
Branti Wrote:Hello test -port instead of the -hostport in your startup command. Try also to add the + ip to your internal ip!

Hm, I'll give that a try when I get home

And how do I add the + ip to my internal ip?
Reply
#8
Like this:

Code:
+ip 192.168.1.1
(Just adjust it to your own LAN/internal IP).
Reply
#9
Ya, -hostpost is different then -port.
Get rid of the -hostport command and use the -port command.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#10
Mooga Wrote:Ya, -hostpost is different then -port.
Get rid of the -hostport command and use the -port command.

Nope, still having the same issues, even with the -port and +ip 192.168.0.100 Sad
Reply
#11
-port. Enter the desired port as you did with + ip

-port 27015 or whatever you want it to be on the port
Reply
#12
Alright, I've been having computer issues the past couple weeks so I haven't been able to get anything done with the server. However I did try out all the suggestions and none of them worked so I'm going to post all my server settings. NOTE server is now on a different PC so the IP address is different, so now the IP's that were forwarded in the screenshots above have been changed to 192.168.0.106 PLUS this computer is now in a Demilitarized zone (DMZ Mode) so it is completely removed from the protection of the router

"c:\HLserver\orangebox\srcds.exe -console -game tf -port 27015 +ip 192.168.0.106 +maxplayers 10 +map cp_dustbowl" (Startup.bat)


"//NOVA PROSPEKT CLAN TF2 SERVER CONFIG FILE MODIFIED BY BLOODYHANDS!!//
//SPECIALLY ORDERED BY ALL MY SWWEEETTT FRIENDS ENJOY!!//
//DATE STAMP: AARSEN SOUSA: LAST EDITED: JUNE 27th, 2008 1:25:30AM//
// General Settings //


// Hostname for server.
hostname "Ben Konyi's Server!"

sv_password "ben"

// Maximum number of rounds to play before server changes maps
mp_maxrounds 6

//Maximum number of points on a team before the server changes map
mp_winlimit "0"

// Set to lock per-frame time elapse
host_framerate 0

// Set the pause state of the server
setpause 0

// Control where the client gets content from
// 0 = anywhere, 1 = anywhere listed in white list, 2 = steam official content only
sv_pure 1

// Is the server pausable
sv_pausable 0

// Type of server 0=internet 1=lan
sv_lan 0

// Whether the server enforces file consistency for critical files
sv_consistency 1

// Collect CPU usage stats
sv_stats 1

//Disable's respawn Times
mp_disable_respawn_times 1

mp_showrespawntimes 1

// Execute Banned Users //
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip



// Contact & Region //

// Contact email for server sysop
sv_contact tenpinben@hotmail.com

// The region of the world to report this server in.
// -1 is the world, 0 is USA east coast, 1 is USA west coast
// 2 south america, 3 europe, 4 asia, 5 australia, 6 middle east, 7 africa
sv_region 0



// Rcon Settings //

//*Somthing stupid so that it keeps people guessing*
// Password for rcon authentication
rcon_password hello

// Number of minutes to ban users who fail rcon authentication
sv_rcon_banpenalty 1440

// Max number of times a user can fail rcon authentication before being banned
sv_rcon_maxfailures 4



// Log Settings //

// Enables logging to file, console, and udp < on | off >.
log on

// Log server information to only one file.
sv_log_onefile 1

// Log server information in the log file.
sv_logfile 1

// Log server bans in the server logs.
sv_logbans 1

// Echo log information to the console.
sv_logecho 0



// Rate Settings //

// Frame rate limiter
//*DO NOT TOUCH THIS UNLESS YOU KNOW WHAT YOUR DOING!*//
fps_max 400
//*DO NOT TOUCH THIS UNLESS YOU KNOW WHAT YOUR DOING!*//
sv_minrate 5000
sv_maxrate 30000
sv_minupdaterate 33
sv_maxupdaterate 67
sv_mincmdrate 33
sv_maxcmdrate 67
sv_client_cmdrate_difference 1
sv_client_predict 1
sv_client_interpolate 1
sv_client_min_interp_ratio -1
sv_client_max_interp_ratio -1


// Download Settings //

// Allow clients to upload customizations files
sv_allowupload 1

// Allow clients to download files
sv_allowdownload 1

// Maximum allowed file size for uploading in MB
net_maxfilesize 128

//Location from which clients can download missing files
sv_downloadurl "http://dorclan.urdw2.com/tf/"


// Team Balancing //

// Eanble team balancing
mp_autoteambalance 1

// Time after the teams become unbalanced to attempt to switch players.
//mp_autoteambalance_delay 60

// Time after the teams become unbalanced to print a balance warning
//mp_autoteambalance_warning_delay 30

// Teams are unbalanced when one team has this many more players than the other team. (0 disables check)
mp_teams_unbalance_limit 1



// Round and Game Times //

// Enable timers to wait between rounds. WARNING: Setting this to 0 has been known to cause a bug with setup times lasting 5:20 (5 minutes 20 seconds) on some servers!
mp_enableroundwaittime 1

// Time after round win until round restarts
mp_bonusroundtime 20

// If non-zero, the current round will restart in the specified number of seconds
mp_restartround 0

//Enable sudden death
mp_stalemate_enable 1

// Timelimit (in seconds) of the stalemate round.
mp_stalemate_timelimit 120

// game time per map in minutes
mp_timelimit 20

mp_stalemate_at_timelimit 0



// Client CVARS //

// Restricts spectator modes for dead players
mp_forcecamera 1

// toggles whether the server allows spectator mode or not
mp_allowspectators 1

// toggles footstep sounds
mp_footsteps 1

// toggles game cheats
sv_cheats 0

// After this many seconds without a message from a client, the client is dropped
sv_timeout 360

// Maximum time a player is allowed to be idle (in minutes), made this and sv_timeout equal same time?
mp_idlemaxtime 6

// Deals with idle players 1=send to spectator 2=kick
mp_idledealmethod 1

// time (seconds) between decal sprays
decalfrequency 10

//Allow Flashlights
mp_flashlight 0



// Communications //

// enable voice communications
sv_voiceenable 1

// Players can hear all other players, no team restrictions 0=off 1=on
sv_alltalk 1

// amount of time players can chat after the game is over
mp_chattime 10

sv_voicecodec vaudio_speex

//sv_voicequality 1 : 2400bps
//sv_voicequality 2 : 6000bps
//sv_voicequality 3 : 8000bps
//sv_voicequality 4 : 11200bps
//sv_voicequality 5 : 15200bps

//sv_voicequality "2"

//voice_quality "2"

//voice_overdrive "2"

// enable party mode
//tf_birthday 1

tf_flag_caps_per_round "4"
tf_stats_track "1"
tf_playergib "1"
mp_autocrosshair "1"
mp_fraglimit "0"
mp_friendlyfire "0"
mp_respawnwavetime "0"
sv_gravity "800"

//----------------------------------//**ManiLoad**\--------------------------------------\
//exec mani_server.cfg"

This server.cfg file has been known to work before on a running clan server.

Once again, any help is greatly appreciated! It'd be great to get this thing up before the scout update on Tuesday! Big Grin


Attached Files
.jpg   Serverscreen.JPG (Size: 119.96 KB / Downloads: 7)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)