Hello again, this time with a question about the Projet Zomboid container :
I'm not sure i understand everything about the ports.
zomboid: # Serveur Projet Zomboid
image: ich777/steamcmd:projectzomboid
container_name: zomboid_serveur_1
restart: unless-stopped
ports:
- "13700:13700/udp"
- "13701-13720:13701-13720"
- "13000:13000"
volumes:
- $DOCKERDIR/conteneur/zomboid:/serverdata/serverfiles
- $DOCKERDIR/conteneur/steamcmd:/serverdata/steamcmd
environment:
- 'UID=1000' # User ID Container
- 'GID=1000' # Group ID Container
- 'GAME_PORT=13000'
- 'VALIDATE=false' # Vérifie l'intégrité des fichiers du serveur
- 'GAME_ID=380870' # ID du jeu à installer
- 'ADMIN_PWD=password' # Mot de passe pour devenir Admin en jeu
As you can see from my docker compose file, i changed every ports, that's because i want it to be as clear as possible in the port forwarding i have to conf in my router due to the fact i only own the first 16k or so ports of my public IP.
I understand the third one, which default to 27015 in your docker image, is for RCON, as indicated in the conf file your container generate on creation.
The first one, which default to 16261/udp, is the port i give my friends so they can join the server ?
And the range, does it have to be following the previous port ? I could not find anything in the Conf files on how it works so i assume it takes the server port and add +1 for each player online ?
Also i saw port 8766 and 8767 in the configuration file of the server, do i redirect those from my router ? I believe i don't need to since they are not forwarded between the host and the container.
Thank you in advance for your help