mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-02-20 14:01:48 +01:00
Updated OCI; Oracle Cloud Instance; Quick how to enable DynMap (markdown)
parent
1f1655d237
commit
01efb1b3dc
@ -19,15 +19,19 @@ You should get a page similar to this screenshot :
|
||||
Select "Add Ingress Rules"
|
||||
|
||||
The first rule we add is for accessing DynMap :
|
||||

|
||||

|
||||
So, as the source, we set it to ANY, so : 0.0.0.0/0
|
||||
For the port, if you let the default one : 8123
|
||||
The protocol is TCP (standard for HTTP)
|
||||
|
||||
|
||||
Then, we also need to allow the access to our Minecraft server (depend on which version you installed and/or mods to allow either clients to connect to your Java server)
|
||||

|
||||

|
||||
|
||||
For all those settings, adapt the destination ports to your needs.
|
||||
|
||||
After that, you should have some rules like those one :
|
||||

|
||||

|
||||
|
||||
A little of explanations here :
|
||||
|
||||
@ -48,8 +52,26 @@ For this part, there is two ways to achieve this goal :
|
||||
|
||||
#### First way - Default firewall application : UFW
|
||||
|
||||
First, and not mandatory (so you can skip those initials commands), we restrict any inbound connections.
|
||||
```
|
||||
To be completed, later... :D
|
||||
sudo ufw default allow outgoing
|
||||
sudo ufw default deny incoming
|
||||
```
|
||||
|
||||
Now, we are going to open some ports, first SSH access (in case you change from the default SSH port (22/tcp), adapt the command accordingly), then DynMap (8123/tcp) and the port for the Minecraft server :
|
||||
|
||||
```
|
||||
sudo ufw allow ssh
|
||||
sudo ufw allow 8123/tcp
|
||||
sudo ufw allow 25565/tcp
|
||||
sudo ufw allow 19132/udp
|
||||
```
|
||||
|
||||
Add any rules you needs, then once done, we enable the firewall with those new rules (and check that everything is OK with the status command) :
|
||||
|
||||
```
|
||||
sudo ufw enable
|
||||
sudo ufw status
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user