[cod] Server behind NAT

Donald Stephens donald.stephens at activant.com
Wed Sep 17 15:31:41 EDT 2008


Funny you mention it Joker. This happens to be the mod I'm running. The
problem now is I've never done anything with a mod but run them. I guess
its time to start reading up on editing raw files.

 

 

-Don

 

________________________________

From: Joker{eXtreme+} [mailto:joker at mycallofduty.com] 
Sent: Wednesday, September 17, 2008 12:26 PM
To: cod at icculus.org
Subject: Re: [cod] Server behind NAT

 

I can't speak for ALL mods, only for eXtreme

 

Majority of the files for this are located in the mod.ff -- atleast the
files you would need to edit anyways.  So you would need the RAW files
for whatever mod you are running.

 

The scripts in the .MENU ((located in the mod.ff)) is capturing the +set
net_ip 

 

Should be easy enough, if you have the RAW files, to hardcode the IP you
want ((external IP)) into the MENU file.

 

Just my first thoughts on this.  I'll have more of a look after work

 

~Joker

 

	----- Original Message ----- 

	From: Donald Stephens <mailto:donald.stephens at activant.com>  

	To: cod at icculus.org 

	Sent: Wednesday, September 17, 2008 12:05 PM

	Subject: [cod] Server behind NAT

	 

	I have a box setup that my clan uses and I run about 7 servers
off of it. I have the server setup using NAT behind a public IP and I
just run each server on a different port.  The problem I'm having is
when I run a MOD that includes a button to add the server to favorites
its grabbing the internal IP of the server 192.168.1.50 and not the
public IP 12.152.181.68. 

	This is my startup parameters...

	+exec server.cfg +set dedicated 2 +set fs_basepath /home/cod4-5
+set fs_homepath /home/cod4-5 +set fs_savepath /home/cod4-5 +set fs_game
mods/ext +set net_ip 192.168.1.50 +set net_port 3160 +set ui_maxclients
"32" +map_rotate

	The server comes up fine and we can connect to it but the
favorites button always shows its natted IP.

	Any ideas?

	Donald Stephens

	Product Support Specialist Sr. Tier4

	Prism Automotive Support

	
	Activant Solutions Inc.(tm) 
	7683 Southfront Rd 
	Livermore, CA 94550 
	T: 800.289.2677 
	F: 925.373.2096

	 

	 

	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.

	
________________________________


	
	No virus found in this incoming message.
	Checked by AVG - http://www.avg.com 
	Version: 8.0.169 / Virus Database: 270.6.21/1676 - Release Date:
9/17/2008 9:33 AM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20080917/f3612bb6/attachment.htm>


More information about the Cod mailing list