[cod] Server behind NAT

Donald Stephens donald.stephens at activant.com
Thu Sep 18 15:07:57 EDT 2008


SWEET!
 
Worked just as described Joker. Thanks everyone for the assistance on this one. Joker maybe you could add that to the list of items for the next version?
 
Again thanks
 
-Don

________________________________

From: Joker{eXtreme+} [mailto:joker at mycallofduty.com]
Sent: Wed 9/17/2008 10:54 PM
To: cod at icculus.org
Subject: Re: [cod] Server behind NAT


So sorry guys!!
 
I am involved in another project that is comsuming all of my time.
 
For the forced favorites for Don -- I was slightly mistaken.  You don't need the RAW files or compile a new mod.ff
 
FOR THE X4V2.0 MOD ONLY    
 
extreme\_ex_forcedvar.gsc Line 73
 
 forcedDvar[forcedDvar.size] = "ui_favoriteAddress";
 forcedDvarValue[forcedDvarValue.size] = level.ex_favaddy;
 
 forcedDvar[forcedDvar.size] = "ui_favoriteName";
 forcedDvarValue[forcedDvarValue.size] = level.ex_favname;
 
extreme\_ex_varcache.gsc Line 135
 
 level.ex_favaddy = [[level.ex_dvardef]] ("ex_favaddy", "", "", "", "string");
 level.ex_favname = [[level.ex_dvardef]] ("ex_favname", "", "", "", "string");
 
server.cfg Line 200
 
set ex_favname "Jokers Test Server"
set ex_favaddy "99.99.99.99:28960"
 
Attached is a screenshot -- file name "forced_fav.jpg" that shows the results.
 
I hope this helps you Don :)
 
~Joker
www.mycallofduty.com <http://www.mycallofduty.com/> 
 

	----- Original Message ----- 
	From: Tyson <mailto:twisted at twistedgamingservice.com>  
	To: cod at icculus.org 
	Sent: Wednesday, September 17, 2008 7:54 PM
	Subject: Re: [cod] Server behind NAT

	Guys none of that matters. The mod looks at the +net_ip setting and gets the IP that way.
	
	When your behind a NAT router you can't bind to the Public IP unless he puts the machine running the servers in a DMZ zone in the router. Problem with that is all routers are flaky as all get out when it comes to DMZ zones.
	
	He will probably have to use Jokers suggestion and hard code it in the mod if possible.
	
	Other option is to turn the machine into your router per say so that it is before your current router. This would allow you to bind to your public IP but cause you more maintenance issues because you'll have to harded the machine and keep it up to date and learn more about networking.
	
	
	Tyson aka TwistedGamer
	Twisted Gaming Service
	http://www.twistedgamingservice.com <http://www.twistedgamingservice.com/> 
	
	

	
________________________________


	


	No virus found in this incoming message.
	Checked by AVG - http://www.avg.com 
	Version: 8.0.169 / Virus Database: 270.6.21/1677 - Release Date: 9/17/2008 5:07 PM
 
 
Notice: This transmission is for the sole use of the intended recipient(s) and may contain information that is confidential and/or privileged.  If you are not the intended recipient, please delete this transmission and any attachments and notify the sender by return email immediately.  Any unauthorized review, use, disclosure or distribution is prohibited.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 7640 bytes
Desc: not available
URL: <http://icculus.org/pipermail/cod/attachments/20080918/aad0074b/attachment.bin>


More information about the Cod mailing list