mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-02-18 04:41:34 +01:00
Updated OCI; Oracle Cloud Instance; Quick how to enable DynMap (markdown)
parent
01efb1b3dc
commit
ef4ce7ce41
@ -74,11 +74,38 @@ sudo ufw enable
|
||||
sudo ufw status
|
||||
```
|
||||
|
||||
![image](https://user-images.githubusercontent.com/44590042/204896218-797912ec-28db-4a91-a329-20c7afc2153b.png)
|
||||
|
||||
That's all we have to do here, if your server is up-and-running and DynMap installed, you should have gained the access to it now 😉
|
||||
|
||||
|
||||
#### Second way - Install Firewall-cmd (and disable UFW)
|
||||
|
||||
In case you do not want to use the embedded UFW commands, you can install the firewall-cmd binary.
|
||||
|
||||
First, let's install it :
|
||||
```
|
||||
To be completed, later... :D
|
||||
sudo apt install firewalld
|
||||
```
|
||||
|
||||
Start this new service and disable the default one :
|
||||
```
|
||||
sudo systemctl enable firewalld
|
||||
sudo systemctl start firewalld
|
||||
sudo ufw disable
|
||||
```
|
||||
|
||||
Add any needed rules (ports to open) like this example :
|
||||
```
|
||||
sudo firewall-cmd --permanent --zone=public --add-port=22/tcp
|
||||
sudo firewall-cmd --permanent --zone=public --add-port=8123/tcp
|
||||
sudo firewall-cmd --permanent --zone=public --add-port=25565/tcp
|
||||
sudo firewall-cmd --permanent --zone=public --add-port=19132/udp
|
||||
```
|
||||
|
||||
Finally, we reload the rulesets with the following command, and everything should be working now :
|
||||
```
|
||||
firewall-cmd --reload
|
||||
```
|
||||
|
||||
***
|
||||
|
Loading…
Reference in New Issue
Block a user