Explicitly define md/x header links for i18n

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
Joshua Castle committed 2024-03-03 20:04:11 -08:00
1 parent 3f4b5f68b0
commit 05c4ec92fc
37 files changed
+202 -202

No files matched your search

+12 -12
View File
@@ -12,7 +12,7 @@ If you are using a Minecraft server hosting provider (e.g. Aternos, or Nodecraft
:::
## Port forwarding on Linux/Windows/macOS
## Port forwarding on Linux/Windows/macOS {#port-forwarding-on-linuxwindowsmacos}
To allow others to play on your server, you will need to set up port forwarding on the device hosting Geyser.
Additionally, you will need to port forward the port on your router/modem (in other words, allow and route traffic on that port to the proper machine) if you want the server to be accessible outside your own home network.
See [here](https://www.howtogeek.com/66214/how-to-forward-ports-on-your-router/) or [here](https://www.lifewire.com/how-to-port-forward-4163829) for helpful guides.
@@ -26,7 +26,7 @@ As an alternative to port forwarding, you can use <a href="/geyser/playit-gg/">p
:::
### Windows
### Windows {#windows}
To open a port on Windows, you will need to open the port through the Windows Firewall. There are multiple ways to do this:
- `Powershell` (recommended)
@@ -48,7 +48,7 @@ To open a port on Windows, you will need to open the port through the Windows Fi
7. Select the profiles you want to apply the rule to (e.g. "Domain", "Private", "Public"), and click "Next". ([Example](/img/wiki/port-forwarding/windows-6.png))
8. Enter a name for the rule (e.g. "Geyser"), and click "Finish". ([Image](/img/wiki/port-forwarding/windows-7.png))
### Linux
### Linux {#linux}
Different Linux distributions, even different VPS providers ship and configure different firewalls. In the following examples, we will use `19132` as the port to open, but you should replace this with the port you are using for Geyser.
- `ufw` is a simple firewall front-end for iptables that is commonly used on Ubuntu and Debian. To open a port on UDP, run the following command:
@@ -72,15 +72,15 @@ Different Linux distributions, even different VPS providers ship and configure d
Then, save the firewall with `sudo iptables-save`, and see all open rules with `sudo iptables -L`.
Further helpful guides for iptables: [DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-iptables-on-ubuntu-14-04), [Ubuntu](https://help.ubuntu.com/community/IptablesHowTo)
### macOS
### macOS {#macos}
You will need to disable `Block all incoming connections` in your Firewall settings, as that will block any connections and won't allow you to make exceptions.
To allow incoming connections, click `Allow` when getting [these prompts](/img/wiki/port-forwarding/macos_warning.png).
If you are still facing issues, see Apple's official guide [here](https://support.apple.com/guide/mac-help/MH11783) to open a port on macOS.
## Using Docker or Pterodactyl
## Using Docker or Pterodactyl {#using-docker-or-pterodactyl}
In addition to port forwarding the port in your server's firewall (and, if applicable, your router/modem), you will need to assign the port in Docker/Pterodactyl.
### Pterodactyl
### Pterodactyl {#pterodactyl}
Make sure to allocate the port to the server in the Pterodactyl panel's `Network` tab, additionally to port forwarding the port.
See [here](https://pterodactyl.io/community/games/minecraft.html#allocations-in-the-panel) for more information.
@@ -94,7 +94,7 @@ If you are not able to allocate ports in the Pterodactyl panel, you will need to
:::
### Docker
### Docker {#docker}
For Geyser to work under Docker (e.g. using [Itzg's Docker image](https://github.com/itzg/docker-minecraft-server)), you will need to add the Geyser port on UDP to the docker-compose file. This is done by adding the following to the `ports` section:
```yaml
ports:
@@ -110,10 +110,10 @@ ports:
Alternatively, add another port with the `-p 19132:19132/udp` flag to the docker run command.
## Issues with specific VPS/KVM providers
## Issues with specific VPS/KVM providers {#issues-with-specific-vpskvm-providers}
Some providers, such as OVH, Oracle Cloud, and SoYouStart, have a firewall that blocks UDP ports by default/in most cases.
### OVH and SoYouStart
### OVH and SoYouStart {#ovh-and-soyoustart}
By default, OVHs firewall requires a TCP ping to the server before allowing UDP connections. This is not possible with Geyser, so you will need to disable the firewall.
:::caution
@@ -141,7 +141,7 @@ SoYouStart (subsidiary of OVH):
4. Select "minecraftPocketEdition" in the dropdown list and enter the target UDP ports.
5. Save and wait a few seconds for the changes to come into effect.
### Oracle Cloud/OCI
### Oracle Cloud/OCI {#oracle-cloudoci}
By default, Oracle Cloud will block all incoming traffic except for SSH and RDP. This must be resolved within Oracle Cloud itself and the Compute Instance running Geyser.
The steps below assume that you are using the default ports for the Java server and Geyser, and should be adjusted accordingly.
@@ -161,7 +161,7 @@ The steps below assume that you are using the default ports for the Java server
- Set "IP Protocol" to UDP
8. Select "Add Ingress Rules"
#### Oracle Linux
#### Oracle Linux {#oracle-linux}
Run the following commands to allow Minecraft and Geyser through the OS firewall:
@@ -171,7 +171,7 @@ sudo firewall-cmd --add-port=19132/udp --permanent
sudo firewall-cmd --reload
```
#### Ubuntu
#### Ubuntu {#ubuntu}
1. Remove/comment out `-A INPUT -j REJECT --reject-with icmp-host-prohibited` in the `/etc/iptables/rules.v4` file.
2. Run the following command to fix `ufw`: