From 23f98240cb28ba87b549341a32265a6ef39e7788 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Sat, 25 Oct 2025 20:28:24 +0100 Subject: [PATCH] Revise port forwarding instructions for Ubuntu Updated instructions for allowing Minecraft and Geyser through the OS firewall on Ubuntu. --- wiki/geyser/port-forwarding.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wiki/geyser/port-forwarding.md b/wiki/geyser/port-forwarding.md index eed5463..f82be6a 100644 --- a/wiki/geyser/port-forwarding.md +++ b/wiki/geyser/port-forwarding.md @@ -183,9 +183,9 @@ sudo firewall-cmd --reload #### 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 commands to fix `ufw`: +Run the following commands to allow Minecraft and Geyser through the OS firewall: + ```bash -sudo -i -iptables-restore < /etc/iptables/rules.v4 +sudo ufw allow 25565/tcp +sudo ufw allow 19132/udp ```