From 63211f8fc0249251c0c79c3b4681eb59bb4f41ee Mon Sep 17 00:00:00 2001 From: zleyyij Date: Sun, 23 Jul 2023 08:53:03 -0600 Subject: [PATCH] vault backup: 2023-07-23 08:53:03 --- Setting up a Minecraft server.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Setting up a Minecraft server.md b/Setting up a Minecraft server.md index 7c460ec..a737e02 100644 --- a/Setting up a Minecraft server.md +++ b/Setting up a Minecraft server.md @@ -58,7 +58,10 @@ The first time you will get an error about an EULA, you need to look for `EULA.t # Allowing minecraft through the firewall This may or may not be needed, depending on your distro, and the command syntax will vary slightly depending on the distro. - +iptables: +``` +iptables -A INPUT -p tcp --dport 25565 -j ACCEPT +``` This enables minecraft to run in the background, restart if it crashes, etc etc. In `/etc/systemd/system`, place this file and tailor it to your liking.