Self-hosted Play Online backend for
cod-boz-port.
It handles login, matchmaking, peer signaling, and endpoint discovery. Gameplay and voice chat remain peer-to-peer. Players only meet when they configure the same server.
Two physical devices have completed a match through this server on a routed local network. Play across separate Internet connections still needs testing.
The server listens on TCP 3074 and UDP 3478:
go run ./cmd/codboz-online-server \
--data-dir ./data \
--stun-source-address 192.168.1.10:3478Point each client at the same address:
multiplayer_server=192.168.1.10
multiplayer_proxy=0
See docs/native-online.md for protocol notes and docs/deployment.md for self hosting this server.
Go 1.26 or newer is required.
make check
make build-linux