@@ -14,13 +14,16 @@ Before we connect to the Minecraft server, we will change the network policy to
1414connect to the Minecraft server over TCP port number 25565. To do this, we need to modify the
1515networking settings for our instance in the OCI dashboard.
1616
17- 1 . On the OCI Instances page, choose your Mnecraft server instance.
18- 2 . In the Networking tab, click on the subnet attached to the instance.
17+ 1 . On the OCI Instances page, choose your Minecraft server instance.
18+ 2 . In the Networking tab, click on the subnet name:
19+ ![ OCI instance networking] ( OCI_instance_networking.png )
19203 . On the Security tab of the subnet page, choose the security list which is active for the instance
2021 (by default, this is called "Default Security List for vcn-xxxxxxxx")
22+ ![ Default Security List for subnet] ( subnet_security_list.png )
21234 . Under "Security rules", add a new Ingress rule (this means the rule applies to incoming traffic
2224 from outside the instance). Set "Source CIDR" to "0.0.0.0/0" (this means all IP addresses can
2325 connect), and set the "Destination Port Range" field to 25565.
26+ ![ Open port 25565 for Minecraft server] ( open_minecraft_port.png )
2427
2528You will also need to update your local firewall to allow connections to port 25565 on your instance.
2629Reconnect to your instance with SSH, and run the following commands on Oracle Linux:
@@ -34,7 +37,8 @@ sudo ufw allow 25565/tcp
3437sudo ufw reload
3538```
3639
37- You should now be able to run your Minecraft server, log in as usual, and connect to your brand new server!
40+ You should now be able to run your Minecraft server on the OCI instance, then start your client, log in as
41+ usual, and connect to your brand new server!
3842
3943### Connecting to the server from the Minecraft client
4044
@@ -43,9 +47,13 @@ You should now be able to run your Minecraft server, log in as usual, and connec
4347by Mojang.
44483 . To add your server to the menu of available servers, choose "Add server", name your server
4549something meaningful ("My OCI server" for example) and put the IP address of your instance into the
46- "Server Address" field.
50+ "Server Address" field:
51+ ![ Configuring new server] ( configuring_new_minecraft_server.png )
52+
53+ You can now join the server and start building!
54+ ![ Connecting to your new server running on OCI] ( connecting_to_server.png )
55+
56+ You can also share the address with your friends to start building a shared world. Have fun!
4757
48- You can now join the server and start building! You can also share the address with your friends to start
49- building a shared world. Have fun!
5058
5159
0 commit comments