[cod] Server behind NAT

Donald Stephens donald.stephens at activant.com
Wed Sep 17 15:29:50 EDT 2008


This wont work because the IP of the box is 192.168.1.50 and the game
cant bind to the address 12.152.181.68. I've tried this only to have it
fail.

 

 

-Don

 

________________________________

From: Santiago Reig [mailto:santireig at gmail.com] 
Sent: Wednesday, September 17, 2008 12:25 PM
To: cod at icculus.org
Subject: Re: [cod] Server behind NAT

 

Try using +net_ip 12.152.181.68

2008/9/17 Donald Stephens <donald.stephens at activant.com>

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.
 
 
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 --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20080917/3c0e5fe7/attachment.htm>


More information about the Cod mailing list