Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH General Discussion
Reload this Page Server behind router settings?
MoH General Discussion General Discussion about Medal of Honor: Allied Assault, expansions and Pacific Assault

Reply
 
Thread Tools Display Modes
Server behind router settings?
Old
  (#1)
cab|eguy is Offline
Junior Member
 
Posts: 3
Join Date: Nov 2002
   
Default Server behind router settings? - 11-13-2002, 05:32 AM

I am running MOHAA behind a router so the PC it runs on has an internal IP address. I forwarded all the ports to the PC with the server on it, so thats no issue. However, when the server runs it runs on the internal IP. So I add the command line switches:

"D:\EA GAMES\MOHAA\MOHAA_server.exe" +set net_ip xxx.xxx.xxx.xxx +set dedicated 1 +set ui_console 1 +set g_gametype2 +set sv_maxclients 10 +exec server.cfg

Obviously where xxx.xxx.xxx.xxx is the WAN or external IP. And on running i get this error.

Opening IP socket: xxx.xxx.xxx.xxx:12203
WARNING: UDP_OpenSocket: bind: WSAEADDRNOTAVAIL
WARNING: Couldn't allocate IP port

for UDP ports 12203 - 12218

So I assume the server is having a conflict thinking it sholud be local IP and is being forced by the 'set net ip' to be set as external IP. Surely gamespy need your external IP so people know how to connect to you. Otherwise surely it would be brodcasting the local IP which obviously no one could connect to. I'm probably repeating this question that someone else has put in the forum b4 so apologies for that. But i have searched and searched for an answer to this UDP problem and this was a last resort. So how do i setup my server?

Thanks guy's
  
Reply With Quote
Old
  (#2)
rudedog is Offline
Site Owner
 
rudedog's Avatar
 
Posts: 5,843
Join Date: Jan 2002
Location: Florida, USA
 Send a message via ICQ to rudedog Send a message via AIM to rudedog  
Default 11-13-2002, 05:59 AM

Try it without the netip setting. This is only needed when you have more then one nic installed on the server running MOH

Also see the moh faq on top for all the ports needed to run MOH from behind a router.

Good luck


Not so Rude
- Rudedog
Follow me via Twitter @THErealRUDEDOG
  
Reply With Quote
Old
  (#3)
cab|eguy is Offline
Junior Member
 
Posts: 3
Join Date: Nov 2002
   
Default 11-13-2002, 06:08 AM

Ok will give that a go. Incidently i did try that and it looks like it was running but was unsure as to how GS would know what IP to connect to. Is there anyway i can test the servers apperance on GS because i am aware of the issue that i cant test it from the same LAN?
  
Reply With Quote
Old
  (#4)
rudedog is Offline
Site Owner
 
rudedog's Avatar
 
Posts: 5,843
Join Date: Jan 2002
Location: Florida, USA
 Send a message via ICQ to rudedog Send a message via AIM to rudedog  
Default 11-13-2002, 06:22 AM

basically all you need to do is forward port 12203 ( game port ) All the other ports are needed for gamespy .

The sticky on top (moh faq) will give you a link to dogmeats port guide.

Also check out http://www.mohadmin.com under guides for some other helpful admin guides on running a moh server.


Not so Rude
- Rudedog
Follow me via Twitter @THErealRUDEDOG
  
Reply With Quote
Old
  (#5)
cab|eguy is Offline
Junior Member
 
Posts: 3
Join Date: Nov 2002
   
Default 11-13-2002, 06:26 AM

Thanks rudedog ran the server and after 5mins people started to show up.

All i did for anyone else reading this was setup my router to use this PC as a default server (I have a Alcatel Speedtouch PRO 510 router) and removed that set net ip switch from the server command line. Thats it! Thanks again. biggrin:
  
Reply With Quote
Old
  (#6)
rudedog is Offline
Site Owner
 
rudedog's Avatar
 
Posts: 5,843
Join Date: Jan 2002
Location: Florida, USA
 Send a message via ICQ to rudedog Send a message via AIM to rudedog  
Default 11-13-2002, 07:35 AM

Good! glad to help. It sounds like you put your PC in the DMZ. This is preferred way to serv. I would recommend you make sure you have everything locked down, on the box and all security updates, updated. AS this box is out in the open now.

update OS
make sure file and print sharing is turned off and you should be all set.


Not so Rude
- Rudedog
Follow me via Twitter @THErealRUDEDOG
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.