Jump to content
Sign in to follow this  
Underdog54

Hosting on Gamespy from behind firewall/NAT

Recommended Posts

I've spent a couple of evenings trying to host.  I've read the FAQs, searched the net, etc. etc. etc.   If anybody knows exactly what ports have to be opened, what has to be redirected to be able to host please let me know!

Here's my situation: OpenBSD firewall running ipnat and ipfilter.  My PC is on a home LAN.  The (NATed) PC is 192.168.1.2. All net stuff is working just fine.  I can play on others' hosts (Gamespy and dedicated). But when I get on Gamespy and create a room it doesn't show up in the host list.  Gamespy's help files are less than helpful.  I have total control over my firewall and LAN, so if I can just get the right info I'm sure I can make this work.

From looking at my firewall logs, I'm not blocking anything from Gamespy.  What is the missing bit of info I need?

Thanks!

Share this post


Link to post
Share on other sites

192.168.1.2 is an address on your local LAN, and not the one that your firewall is reporting to the outside world.

To find out what your external IP address is, go here. The clients need to connect to the external IP address in order to reach your server. Obviously, the NAT/PAT settings need to be correct as well, or it still won't work.

Share this post


Link to post
Share on other sites

GS uses the port above your gameserver so be sure to open it. E.g. server runs on 2234 (default). Open firewall port 2234 and 2235 to 192.168.1.2. Use Port Forwarding on 2234 and 2235 to 192.168.1.2 since you're using NAT.

You say that the firewall isn't blocking anything but when I started a DS server with cfg file and had MasterIP= set to GS' server, GS started banging on my port 2235. I'm not sure about hosting servers thru GS tho, but try my suggestion first.

-Rekrul

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×