How to host Server - broke-protocol/broke-protocol GitHub Wiki
English | Spanish — Please help translate this page into your own language.
-
Open your router settings page, goto step 2 if you do not know how to obtain your routers gateway IP, else, goto step 3.
-
To get the default gateway IP of your router, open CMD (Windows) or Terminal (Linux), And type ipconfig (ifconfig on linux) You should see something like this:
Click to expand
Search for something called 'Default Gateway' and enter it in your browser.-
For Broke Protocol, Forward ports 5557 & 5558 on UDP, to your PC's IP, again, this can be found by doing ipconfig | findstr /i "ipv4" (win) or ip addr show | grep inet (linux), If multiple are displayed, it'll probably be the one that most resembles the Router's IP.
-
Start the server by running the Server.bat (win) or ./Start.sh from a terminal cd'd into the server directory. The game folder can be found at
Your steam install path\steamapps\common\BROKE PROTOCOL
, You have to copy everything from there into another folder to host the server! -
To configure server settings, change the included
'Server_info.txt'
,'Settings.txt'
and'Whitelist.txt'
-
Add admins or bans using the included
'Admin_list.txt'
or'Ban_list.txt'
files respectively -
To stop the server, Close the console (win) and kill it using task manager or run ./Stop.sh from a terminal cd'd into the server directory.
This method should only be used if you do not have access to the router settings page, Also, I'm not sure how this works on Linux, so if anyone with a linux box wants to try, please let me know how that goes.
- Download UPnP Port Mapper from https://sourceforge.net/projects/upnp-portmapper/files/latest/download
- Open the program and press Connect
- Create a Port Mapping Preset
- Add a description (I use 'Broke Protocol')
- Leave Remote Host blank
- Add a Port Range
- Protocol of UDP, and ports 5557-5558
- Save the preset, and select it in the preset menu
- Add the preset by pressing 'Use'
- Press update to ensure that the ports show up in the Port Mappings area
- Continue with the 1st method from step 4.
-
Abra la página de configuración del enrutador, vaya al paso 2 si no sabe cómo obtener su IP de puerta de enlace de enrutadores, de lo contrario, vaya al paso 3.
-
Para obtener la IP de la puerta de enlace predeterminada de su enrutador, abra CMD (Windows) o Terminal (Linux), y escriba ipconfig Debería ver algo como esto:
Haga clic para ampliar
Busque algo llamado 'Puerta de enlace predeterminada' e ingréselo en su navegador.-
Para el protocolo Broke, reenvíe los puertos 5557 y 5558 <ACTUALIZADO COMO 0.66 en UDP, a la IP de su PC, de nuevo, esto se puede encontrar haciendo ipconfig | findstr / i "ipv4" (win) o ip addr show | grep inet (linux), si se muestran múltiples, probablemente sea el que más se parezca a la IP del enrutador.
-
Inicie el servidor ejecutando Server.bat (win) o ./Start.sh desde un cd del terminal en el directorio del servidor. La carpeta del juego se puede encontrar en la ruta de instalación de
\steamapps\common\BROKE PROTOCOL
, se sugiere que el servidor esté en una carpeta diferente. -
Para configurar los ajustes del servidor, cambie los archivos incluidos
'Server_info.txt'
,'Settings.txt'
y'Whitelist.txt'
.
Este método solo debe usarse si no tiene acceso a la página de configuración del enrutador. Además, no estoy seguro de cómo funciona esto en Linux, así que si alguien con un linux box quiere probar, por favor, hágame saber cómo funciona.
- Descargue UPnP Port Mapper desde https://sourceforge.net/projects/upnp-portmapper/files/latest/download
- Abra el programa y presione Conectar
- Crear un preajuste de mapeo de puertos
- Agregue una descripcion (yo uso Broke protocol)
- Deje el host remoto en blanco
- Agregar un rango de puertos
- Protocolo de UDP y puertos 5557-5558
- Guarde el preset y selecciónelo en el menú preestablecido
- Agregue el preset presionando 'Usar'
- Presione actualizar para asegurarse de que los puertos aparezcan en el área Asignaciones de puertos
- Continúe con el primer método desde el paso 4.
-
-