Skip to content

InAnimaTe/docker-battlefield1942

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battlefield 1942

bf42-dock

Dockerized battlefield 1942

Prerequisites

Building

$ docker build -t bf42 .
$ docker run -d -p 14567:14567/udp bf42

The above run command with published port 14567 is the bare minimum for direct connecting to the server. If you want to host a LAN or internet game and have the game show up in the battlefield server browser, you need to publish more ports.

LAN game:

$ docker run -d -p 14567:14567/udp -p 3117:3117/udp bf42

Internet game:

$ ?? not tested yet

Notes

Battlefield 1942 needs these ports:

  • 14567/udp - game traffic
  • 3117/udp - server browser client request (LAN only)
  • 22000/udp - server browser response (LAN only)
  • 27900/tcp - gamespy heartbeat

About

Battlefield 1942 Dedicated Containerized Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%