Microsoft's DirectX network API, DirectPlay uses a large number of ports, around one hundred, to make connections. DirectX also made no allowances for Network Address Translation (NAT), all machines need public IP addresses. Typically because of this only one machine behind a NAT can play in one game and then only with proper configuration of the NAT using port forwarding or the DMZ.
DXport You can download DXport from Puffinsoft's page. forces each computer behind a NAT to use a subset of those hundred or so ports. This will allow port forwarding of each subset to the correct machine.
First, you must be able to connect to the Internet and play on one machine behind the NAT. Follow my advice on proper NAT configuration. This will make sure that your first system is configured properly and hardware is indeed compatiable. You will need a NAT that can port forward; using DMZ doesn't count.

Sample LAN using an RT314 router with 4 clients



| Start Port | End Port | Server IP Address |
|---|---|---|
| 2302 | 2311 | 192.168.0.2 |
| 2312 | 2321 | 192.168.0.3 |
| 2322 | 2331 | 192.168.0.4 |
| 2332 | 2341 | 192.168.0.5 |
| 47624 | 47624 | 192.168.0.2* |
| *This entry is only required if you wish to host a game. Only the computer at this address will be able to host. | ||




There are reports that even with DXport and the ports properly forwarded you still cannot play in the same game from behind the router. These reports are when using peer-to-peer type of games such as Age of Empires or Age of Kings.
While I still haven't given DXport the testing it deserves. I successfully tested and played Star Wars: Galactic Battleground, which uses the Age of Empires engine, using two machines behind an RT314 to play a machine on the Internet.
I test Age of Kings locally, I used the public IP address of the RT314 and was able to connect and play the two machines. Netstat showed that the client computer did in fact appear to originate from outside the NAT and was not redirected. While this isn't proof that Age of Kings should work, it is very compelling. Anyone care to help me test?
I am hoping to find time to experiment more with DXport and the RT314 soon.