Ports and public list
Which ports to open, on the router and in the firewall, and how your server appears in SixM's list.
The ports
| Port | Protocol | What for | Open it? |
|---|---|---|---|
| 41760 | UDP | the game (positions, events, resources) | yes |
| 41760 | TCP | the loading screen and what the launcher asks before opening the game (whether mods are allowed) | yes |
| 41761 | TCP | the web panel | only if you use it from another machine |
The game port is changed with endpoint in servidor.cfg (for example endpoint 0.0.0.0:30120); TCP always uses the same number. The panel's port is changed with --panel ip:port when starting sixm-servidor.
At home: the router
- Find the server PC's local IP (
ipconfig, the “Dirección IPv4” (IPv4 Address) line, e.g.192.168.1.20). Better if it is static: reserve it in the router. - On the router's page, look for Port forwarding (also called NAT or virtual servers).
- Create one rule for 41760 UDP and another for 41760 TCP pointing to that IP.
- In Windows, allow the program or the ports in the firewall (Windows asks the first time the server starts: tick private and public networks).
Your friends join with your public IP (the one any “what is my IP” website tells you) and the port, for example 83.45.10.7:41760.
If your ISP uses CG-NAT (shared IP), port forwarding does not work: use a private network (Tailscale, ZeroTier, Radmin VPN) or a VPS.
On a VPS
The Windows and Linux installers already open the system firewall. What is left is the provider's firewall (on their website): UDP and TCP 41760, and TCP 41761.
The public list
With this line in servidor.cfg:
lista_publica 1
the server pings this website every minute. The website takes the IP the ping comes from (never one the server states), queries the server over UDP for its name, slots and mode and, if it answers, puts it in the server list and in the Servidores (Servers) tab of everyone's launcher. If it stops pinging or answering, it drops off the list within a few minutes.
The server console tells you how it is going, once and every time it changes:
| Message | What is happening |
|---|---|
SixM: on the public list (vicesixm.com) | all good |
SixM: the public list rejected you: The site could not reach <ip>:<port> over UDP. Open (forward) UDP and TCP <port> to this server. | the port is not open or forwarded |
SixM: the public list rejected you: Only servers with a public address can be listed. | the ping comes from a private network |
SixM: cannot reach the public list (is curl missing?): ... | the system has no curl (Windows 10 and 11 include it) |
SixM: the public list rejected you: Too many announcements. | more than 10 announcements a minute from one address |
SixM: the public list rejected you: Bad port. | the port must be between 1024 and 65535 |
The list shows sv_nombre, sv_modo and the players against sv_maximo. With lista_publica 0 it does not appear, and only people who know the address can join.