PDA

View Full Version : How to Set Up a Dedicated CoD Server Behind a Firewall


rudedog
02-25-2005, 11:40 PM
How to Set Up a Dedicated CoD(UO)(2) Server Behind a Firewall By OldDog



NOTE: This is targeted to the home-based server admin. For you that rent servers from a provider company, most of this is already taken care of for you. However, the principals are the same.

ADDITIONAL NOTE: This document is not plug and play. It is NOT a tutorial for every router/firewall available on the market. Nor is it a tutorial for any SPECIFIC router/firewalls. It mentions Netgear and LinkSys, but doesn't contain screenshots of these units. What this document attempts to provide is some basics of firewalls, routers, IP addressing, and how to get your CoD Server up and visible to the Internet. If you are unwilling to read the manuals and tutorials that come with these devices, dont bother reading any further.

ONE MORE ADDITIONAL NOTE: The only topics covered in this document regarding server configuration files are those that directly relate to connecting through a router/firewall and the successful publishing of your server. Any other configuration stuff is covered in far better documents, guides, and tutorials on this site.

[/URL]
Click [URL="http://www.olddogvt.net/cod-firewall"]here (http://www.codadmin.com/nuke) for the full guide.

OldDog

aspie
02-01-2006, 04:35 AM
hey guys,

Ive been trying to figure this one out for awhile now, and I need some help.

Im trying to start my own CoD dedicated server behind a firewall and am having some issues. I have the proper ports forwarded on the router, and for now the windows firewall off.

my config file...

// TMMworld Config File - Mixed Game Types

// Public Information
seta sv_hostname "VINNIUS!"

sets "Admin" "TMM"
sets "email" "tmmgame@cox.net"
sets "Website" "http://tmmworld.com"
sets "Location" "Southern California"
sets "connection" "Cable 384k upload"

set g_gametype "bel" //gametype: bel, dm, re, sd, tdm
set net_ip 70.134.106.36
// IP to listen on for multihomed servers
set net_port 28961 port to listen on

// Passwords & private slots
seta rconPassword "xxxxx"
//seta g_password ""
set sv_privatepassword "zzzzz"

//General Settings
sv_maxclients "14"
sv_privateclients "2"
set scr_friendlyfire "1"

set logfile "1"
g_log "server.log"

set protocol "1"
sv_pure "1"
g_logsync "0"
sv_gamespy "1"
sv_floodprotect "1"
sv_invulnerabletime "3"
g_teamkillwarn "3"
g_teamkillkick "5"
g_teamswitchdelay "10"
sv_maxping "250"
sv_maxrate "8000" // Rate for server -set according to upload capability
set g_allowvote "0" //

set scr_allow_vote "1" // Allow call voting
set scr_drawfriend "1" // Draws a team icon over teammates
set scr_forcerespawn "0" // Force respawning - DM & TDM
set g_ioteamspec "1" // Forces dead players to ONLY spectate their own team
set g_iokillcam "0" // Disables the kill cam
set scr_friendlyfire "2" // 0 = off 1 = on 2= reflect damage

sv_allowAnonymous "0" // Purpose?
sv_allowDownload "0" // Game Pure set to off = 0
sv_cheats "0" // Why would anyone want this on for mutiplayer?
sv_fps "20" // fps rate for server

// Master servers - I found this prevents server from showing somtimes.
seta sv_master1 "codmaster.activision.com"
//set sv_master2 ""
//set sv_master3 ""
//set sv_master4 ""
//set sv_master5 ""

// Weapons // Set weapons 0=off 1=On
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "1"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"

// DM
set scr_dm_scorelimit "50" // Map score limit
set scr_dm_timelimit "20" // game time limit
set scr_drawfriend "1" // needed??
set scr_forcerespawn "1"

// TDM
set scr_tdm_scorelimit "10 // map score limit in map
set scr_tdm_timelimit "25" // map time limit

// SEARCH AND DESTROY
set scr_sd_graceperiod "15" // time at start weapon choosing and spawn allowed 0 to 60
set scr_sd_roundlength "4" // minutes for each round
set scr_sd_roundlimit "0" // max round wins in map
set scr_sd_scorelimit "7" // map score limit in map
set scr_sd_timelimit "0" // map time limit

// BEL
set scr_bel_alivepointtime "10" // Seconds to get a point for staying alive as allied
set scr_bel_scorelimit "75" // Map Score limit
set scr_bel_timelimit "20" // Map time limit

// RE
set scr_re_graceperiod "15" // time at start weapon choosing and spawn allowed 0 to 60
set scr_re_roundlength "4" // minutes for each round
set scr_re_roundlimit "0" // max round wins in map
set scr_re_scorelimit "7" // map score limit in map
set scr_re_timelimit "0" // map time limit
set scr_re_showcarrier "0" // show the objective carrier on the compass

// Map Rotation
set sv_mapRotation "gametype bel map mp_dawnville gametype bel map mp_harbor gametype bel map mp_pavlov gametype sd map mp_brecourt gametype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_harbor gametype sd map mp_pavlov gametype sd map mp_depot gametype sd map mp_hurtgen gametype sd map mp_powcamp gametype sd map mp_railyard gametype sd map mp_rocket gametype bel map mp_depot gametype bel map mp_hurtgen gametype bel map mp_powcamp gametype bel map mp_railyard gametype bel map mp_rocket gametype bel map mp_brecourt gametype bel map mp_carentan "

//start server with this
set sv_mapRotationCurrentmap "mp_dawnville"

// The following list is for reference only, to build the rotation you want.

// Game Type commands
// gametype bel map
// gametype tdm map
// gametype sd map
// gametype re map
// gametype dd map


// MAP LISTING
// mp_brecourt
// mp_carentan
// mp_chateau
// mp_dawnville
// mp_depot
// mp_harbor
// mp_hurtgen
// mp_pavlov
// mp_powcamp
// mp_railyard
// mp_rocket
// mp_ship




and my error...

WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 70.134.106.36:28961
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 70.134.106.36:28962
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 70.134.106.36:28963
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 70.134.106.36:28964
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 70.134.106.36:28965
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 70.134.106.36:28966
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 70.134.106.36:28967
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 70.134.106.36:28968
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
Opening IP socket: 70.134.106.36:28969
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
WARNING: Couldn't allocate IP port
Hitch warning: 644 msec frame time

Im at the point where, i could almost not care about the silly server, I just wanna see it work.

Im so serious about this that the first person who gives me the the action that fixes this gets $20 via paypal or whatever.

Vinnius

d1emain3qc
04-08-2006, 12:52 PM
Ok is this a Linux Server and is this behind a router.

{KP}Freeman
05-22-2006, 04:32 PM
I have the same problem
i have a windows XP Computer.

I got a router switch and a modum in 1
i just can't get acces to my own server.

OldDog
05-23-2006, 12:36 PM
Is this in your config?
set net_ip nnn.nnn.nnn.nnn
set net_port 28961 port to listen on

If it is, get rid of both lines.

Do you have access (probably web based) to your combo router/modem? You need to set up the proper ports inbound to your system. See the first post in this thread for a document on what you need to do.