NickTyrer / outland_docker

A docker image to host your own private TBC World of Warcraft server over a Zerotier network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Outland Docker

A docker image to host your own private TBC World of Warcraft server over a Zerotier network.

Getting Started

Firsty get youself a free Zerotier account as this server will be hosted over a Zerotier network. Here is a good primer on Zerotier to show what we are aiming for. Once you have your account, set up a new Zerotier network and note the network id.

Image Creation

git clone https://github.com/NickTyrer/outland_docker.git && cd outland_docker && \
docker build -t outland_image .

Container Creation

With this config all files will be hosted within the container (suitable for most users)

docker run -d \ 
           -e ZT_NET=<network id> \
           --cap-add=NET_ADMIN \
           --cap-add=SYS_ADMIN \
           --device /dev/net/tun \
           --name=<container name> \
           outland_image

Join the Zerotier Network

Once the container is running head back to the config page for your Zeroier network and authorise the container access to the network and then note down the containers IP address (In the managed IP's column).

Add a GM Account

Attach to the container

docker exec -ti <container name> /bin/bash

Attach to the tmux session

sudo -u admin tmux a -t outland
account create <username> <password>
account set gmlevel <username> 6

detach from tmux using ctrl+b then d then exit to exit the container

Management

To acces the MaNGOS console just connect via SSH using the Zerotier IP address

Client config

People wanting to connect to the server will need three things:

  1. Zerotier client with access to the Zerotier network
  2. World of Warcraft 2.4.3 client (use the links here)
  3. Edit realmlist.wtf in the Warcraft World of Warcraft 2.4.3 client to include set realmlist <zerotier container ip>

Security

Take a look here for how to restrict access to your container using Zerotiers network flow rules.

Thats it - here are all of the gm commands to administer your server.

Sources

CMaNGOS

About

A docker image to host your own private TBC World of Warcraft server over a Zerotier network.


Languages

Language:Shell 95.8%Language:Dockerfile 4.2%