-
-
Notifications
You must be signed in to change notification settings - Fork 164
Setting up on Linux
The following guide will show you how to get BedrockConnect up and running along with a DNS server.
To install Java 8:
Ubuntu: sudo apt install openjdk-8-jre-headless
CentOS: sudo yum install java-1.8.0-openjdk
Download the following script: https://raw.githubusercontent.com/Pugmatt/BedrockConnect/master/scripts/install-bind.sh
Run: sudo install-bind.sh [IP]
[BCIP] - Replace with public IP of your network that players will use
Download the latest "BedrockConnect-1.0-SNAPSHOT.jar" from: https://github.com/Pugmatt/BedrockConnect/releases
Run: java -jar BedrockConnect-1.0-SNAPSHOT.jar nodb=true
(If this server is made to be accessed outside of the Linux server's network, make sure port 53 and port 19132 is opened)
NOTE: If you are hosting your DNS server to the public, it is highly recommended that recursion on the DNS server stays disabled, in order to mitigate possible DNS amplification attacks. (The install-bind.sh script has recursion disabled by default)
Everything should then be correctly up and running. You would then set the primary DNS on your devices to the public IP address that you have the server running on, and the secondary DNS to a well-known DNS such as 8.8.8.8
.