diff --git a/MagicBox-%3A-Magicbane-in-a-Box.md b/MagicBox-%3A-Magicbane-in-a-Box.md index 03ea74c..5188e05 100644 --- a/MagicBox-%3A-Magicbane-in-a-Box.md +++ b/MagicBox-%3A-Magicbane-in-a-Box.md @@ -48,8 +48,6 @@ Windows ```docker run --name magicbox -p 5000:5000 -p 6000:6000 -p 8000:8000 -v /home/mbbox/magicbane/mb.conf:\c\Users\YOURDIRHERE\mb.conf magicbane/magicbox:latest & ``` ->MagicBox uses three ports. 5000 is used optionally for a debugger or profiler. 6000 is used for the login server. 8000 is used for the world server. If behind a NAT/router the user must [open these ports](https://portforward.com/games/) on his router or configure a DMZ. It is recommended that you change the external port only via the docker run command not within [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf). Docker will automatically bridge traffic to the correct internal port. - Below is the script the MagicBane team uses to cycle MagicBox in testing. ```console #!/bin/bash @@ -178,12 +176,23 @@ At the very least a new MagicBox administrator might wish for to change the worl `MB_WORLD_NAME="MagicBox"` -It is advised that the Magicbox administrator ***not*** edit the following values. +### Network + +It is advised that the Magicbox administrator ***not*** edit the following values. 0.0.0.0 instructs Magicbane to self-configure the bind address and public facing ip. ```MB_PUBLIC_ADDR="0.0.0.0"```
```MB_BIND_ADDR="0.0.0.0"``` -This instructs Magicbane to self-configure the bind address and public facing ip. +MagicBox uses three ports. If behind a NAT/router the user must [open ports](https://portforward.com/games/) on his router or configure a DMZ. + + +| Port | Application | +--------|--------------- +| 5000 | Debugger | +| 6000 | Login Server | +| 8000 | World Server | + +It is recommended that you change the **external port only** via the docker run command not within [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf). Docker will automatically bridge traffic to the correct internal port. > If using a mobile phone tether in a situation where there is no router to port forward then MagicBox still will function locally. See the [Troubleshootings](http://repo.magicbane.com/MagicBane/Server/wiki/Troubleshootings) page.