Port 14567 UDP is the only port you have to open for Battlefield 1942. If you want to have your server listed on gamespy, you might also need to open the following ports. Allow TCP and UDP Ports 12203 Allow UDP Port 14690 Allow UDP Ports: 23000-23009 Allow UDP 22000 (This is only for LAN) # GameSpy Master Server UDP Heartbeat: Allow UDP Port 27900 # GameSpy Master Server List Request: Allow TCP Port 28900 It's also important to note that EA suggests DMZing your computer for Battlefield 1942.
Click the Security Center link near the bottom left of the page.
Click the Windows Firewall link near the bottom right of the page.
Remove the checkmark from the Don't allow exceptions checkbox.
We will list a series of lines here that will show you exactly how to setup Windows XP Firewall's firewall for Battlefield 1942. Go ahead and enter the settings shown below into the Add Port menu.
You should see another page of settings below that need to be added to Windows XP Firewall. Open up a new Add Port page and enter those settings.