From Worms Knowledge Base
Hosting games on Worms Armageddon often requires some network set-up. W:A uses a peer-to-peer networking model, which means that games are hosted on the players' computers, and not on the WormNET server. The implications of this are that in order for a player to successfully host a game, other computers from the Internet must be able to connect to the host's computer. Certain hardware (routers and modems) and software (firewalls) create a barrier and block incoming connections, and require configuration to allow these connections to go through and reach Worms Armageddon.
If you have a router, you will need to configure the router to forward incoming connections on a certain TCP port (by default, 17011) to your computer.
The website portforward.com has detailed steps on how to configure port forwarding for many router models:
- Proceed to the Routers section on portforward.com;
- Find the model of your router (or the closest model if you can't find yours), and click on it;
- Scroll down and find the Worms Armageddon link, and click it;
- Follow the instructions there.
Software firewalls (sometimes also called "Internet security suites") will often block all incoming connections, unless a special rule is created. There are usually two ways to configure them, depending on their type.
Make WA.exe a trusted program
Often software firewalls allow users to mark some programs as completely trusted, which means that the firewall will not block any network activity by that program. The exact steps vary for every firewall, but doing this might involve:
- adding WA.exe to the "trusted zone"
- adding WA.exe to a list of "exceptions"
- creating a rule to allow all network access to and from WA.exe
Allow all traffic on port 17011
Some firewalls operate on a port-based level, rather than an application level. In this case, you will need to instruct the firewall to allow all network activity on W:A's hosting port (by default 17011).
You can find guides for a few firewalls on nanacide.
Make sure that the Force IP checkbox is unchecked
W:A versions since 18.104.22.168 will correctly auto-detect your external IP, even if you're behind a router or firewall. There is an option to disable auto-detection and override your IP address, but this is only required in very exotic network configurations. If you read somewhere that you need to enable Force IP, ignore that guide as it is very outdated.
The Force IP option can be found in the network configuration screen, accessible from the network play screen via the Configuration button.
Change the port used for hosting games
If you know that your computer is connectable on a certain port, and do not wish to set up another port just for W:A, you can change the port number used for hosting games in W:A's network options screen. However, note two things:
- Players using W:A versions older than 22.214.171.124 will not be able to join your game
- If you try to host a game while another application is using the port you specified, other players will not be able to join your game.
Checking your connectivity
When setting up hosting, you don't need to ask someone to try joining your game to see if it worked - you can check yourself. To do this:
- Host the game as usual (you don't need to host it on WormNET, a Direct IP game will work too)
- Minimize the game (by clicking on the bottom of the screen, or pressing Shift+Esc)
- Open canyouseeme.org
- Enter 17011 as the port (unless you changed it)
- Click Check
The website will tell you whether your computer is connectable on the port you specified. Remember that this will only work while you're actually hosting a game!
If none of the above helped you or applies to you (for example, you're in a LAN without access to the router/gateway), you could try one of the following solutions.
WormNAT2 is a new WormKit module which enables players behind NAT or firewalls to host games which are joinable by everyone. It achieves this by hosting games on a proxy server, which redirects connections to your computer.
HostingBuddy is an automated hosting bot. When it's online, it can host games for you. When you join your game, you'll be able to control and customize it using text commands. Since it's been obsoleted by WormNAT2, it's not online often.
Hamachi is a user-friendly Virtual Private Network application. It allows games hosted on LAN to be visible to users on your Hamachi virtual network, over the Internet. Only people in the same Hamachi network as you will see and be able to join your games.