PDA

View Full Version : Server/Network Setup...help appreciated


smckeown
04-27-2004, 03:45 PM
I'm setting up my first server for my son (alright i might have a go too!).

I have read loads of posts on here and i'm nearly there i think, but i have an outstanding question regarding static ip addr setup.

Here's what i understand (or think i understand). My setup is a Broadband ISP provided with 1 static ip address and a server/pc with a dynamic ip address

Router static ip address 82.69.x.x
Server dynamic ip address 192.168.x.x

First i have configured my router to forward all traffic for ports 28960, 20510, 20500 and protocol UDP to my server's ip address. The ip address is correct (i.e. it still has time to live)

I have setup the shortcut and dedicted.cfg as per below

But my main question is that people seem to be assigning their internet facing ip address in their shortcut, but the machine running the shortcut (the server) hasnt got that ip address assigned, but has a dynamic one. Therefore COD cant allocate those ports

If i put in my dynamic one, how would anyone be able to get in from the internet unless they knew my static ip address, i obviously need the games listings to use the static ip address to get to my server (via the router) ???

Shortcut:
"F:\Call of Duty\CoDMP.exe" +set dedicated 2 +exec dedicated2.cfg +set net_ip 82.69.x.x +map_rotate

dedicated2.cfg:
// created with save our souls CoD server config builder
// http://sos.noginn.com/codserver by save*noginn

// Passwords
set rconPassword ""
set g_password ""
set sv_privatePassword ""

// Public Information
set sv_hostname "ZZZ-SEAN-ZZZ"
set scr_motd "Message Of The Day"
sets .Admin ""
sets .Email ""
sets .IRC ""
sets .Website ""
sets .Location "UK"

// General Settings
set scr_friendlyfire "0"
set sv_maxclients "20"
set sv_privateClients "4"
set sv_maxRate "20000"
set sv_minPing "0"
set sv_maxPing "0"
set sv_pure "1"
set logfile "1"
set g_log "games_mp.log"
set scr_killcam "1"
set scr_freelook "1"
set scr_spectateenemy "1"
set scr_teambalance "0"
set g_allowVote "1"
set scr_allow_vote "1"
set sv_allowAnonymous "0"
set sv_allowDownload "1"
set sv_cheats "0"
set sv_fps "20"
seta master1 "codmaster.activision.com"
seta master2 "master0.gamespy.com"
seta sv_gamespy "1"
set sv_master2 ""
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""

// Weapons
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"
set scr_dm_timelimit "30"
set scr_drawfriend "1"
set scr_forcerespawn "0"

// TDM
set scr_tdm_scorelimit "100"
scr_tdm_timelimit "25"

// SD
set scr_sd_graceperiod "15"
set scr_sd_roundlength "4"
set scr_sd_roundlimit "0"
set scr_sd_scorelimit "7"
set scr_sd_timelimit "0"

// BEL
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "30"

// RE
set scr_re_graceperiod "15"
set scr_re_roundlength "4"
set scr_re_roundlimit "0"
set scr_re_scorelimit "7"
set scr_re_timelimit "0"
set scr_re_showcarrier "0"

// HQ
set scr_hq_scorelimit "0"
set scr_hq_timelimit "0"

// Map Rotation
set sv_mapRotation "gametype dm map mp_bocage gametype dm map mp_brecourt gametype dm map mp_carentan gametype dm map mp_chateau gametype dm map mp_dawnville gametype dm map mp_depot gametype dm map mp_harbor gametype dm map mp_hurtgen gametype dm map mp_neuville gametype dm map mp_pavlov gametype dm map mp_powcamp gametype dm map mp_railyard gametype dm map mp_rocket gametype dm map mp_ship "
set sv_mapRotationCurrentmap "mp_bocage "

If you've read this far then thanks in advance for your reply :-) :dis:

smckeown
04-27-2004, 03:56 PM
just a little moe info

- im running the latest 1.4 version
- i can access a webserver running on the same server from the net using the same static ip address...so connectivity shouldnt be an issue

cheers
sean