Site

Top Articles Strategies

Facts

Ships Modules Researches

Sources

Files Links

Homeworld2 Logo

Articles

How to set up your router, so you can host a game

You will first need to know how to configure your router. You can either look up on your router manual or go to web page of the manufactuer and obtain one and read it to figure out how to do it.
You also should configure your Windows firewall to make sure the ports are not blocked.

To host, you must open the following ports and if you are behind a router you must redirect those ports toward your Windows machine. All the ports are the type of UDP and not TCP.

6073
6500
2302:2400
13139

The third entry means ports from 2302 to 2400. If your router is incapable of setting ports to open and redirect in the range, it will be hard for you to configure it.

To redirect the opened ports toward your Windows machine you need to know what the IP is for your Windows machine.
You can know it by running Command Prompt that comes with Windows. Run it and type in 'ipconfig'. This will reveal what your Windows computer's IP is.
And you should redirect toward that IP.

Some routers may not need to open ports since they may automatically do so when redirecting or they actually don't close any ports by default.
And after you configure it and launch Homeworld2, you may be asked by your Windows firewall to allow the incoming connection toward the program and you should let it do so.

And there are some security related application that blocks incoming connections, so make sure if you have one, don't let it be in the way with the ports mentioned above and probably
it could block Homeworld2 application from getting accessed from outside, so you should let it too.

You should refer to this thread at RelicNews if you have any questions.
The thread tells you to open alot of ports at first, but they are unneccesary.

Here's an additional information from Relic forums in case the above method does not work.

a) Disable your router so that your machine is connected directly to the internet.
b) Unblock port 6073 and ports 2302 to 2400 (these are the default DirectPlay ports used by Homeworld 2).
c) Force Homeworld2 to use a given port number by using "-port #" at the command line, where # is between 1 and 65535. (Using 80 may work.)

If you still encounter difficulty in connecting to GameSpy, please allow traffic for at least the following TCP ports.
6667 (IRC)
80 (HTTP)
27900 (Master Server UDP Heartbeat)
28900 (Master Server List Request)
29900 (GP Connection Manager)
29901 (GP Search Manager)
13139 (Custom UDP Pings)
6500 (incoming, UDP, default room query port; can be customized with roomqueryport=# in svc.cfg)