Can't connect externally to my minecraft server

Hi there,

if you want to create an bungeecord server via proxmox "for secure and protect", you must use

- Option 1: min. 3 (5 is opmital) Servers there are connected as lxc container
- Option 2: you create 5 vms on one server.

In Option 2, please contact me to help you to protect your server..... #SafetyFirst

Kind regards BundleDog
I have 3 Proxmox hosts in a cluster, so do I create 3 x LXC's
 
I have 3 Proxmox hosts in a cluster, so do I create 3 x LXC's
Let us use an easylier method:

To create a Minecraft crossplay server on Proxmox for Windows and Xbox, you can follow the steps below:

1. **Minecraft Bedrock Edition**: Make sure you have Minecraft Bedrock Edition, as this is required for crossplay.
2. **Microsoft account**: You and any friends you want to play with will need a Microsoft account.
3 **Start Minecraft game**: Sign in with your Microsoft account and start the game.
4 **Pause game and invite friends**: Pause the game and select "Invite to Game". Then click on "Find Cross-Platform Friends", "Add Friends" and finally on "Send 1 Invite to friends".

To set up Windows on Proxmox, you can follow the steps below:

1. **Proxmox version**: Make sure you are using ProxmoxVE version 8.1.3 or higher.
2. **Hardware**: Check your hardware compatibility.
3. **IOMMU groups**: Check your IOMMU groups.
4. **Create Windows VM**: Create a Windows VM on your Proxmox server.

To set up a Minecraft server on Proxmox, you can follow the steps below:

1. **Download MineOS file**: Download the MineOS file.
2. upload **MineOS file to your server**: Upload the MineOS file to your server.
3 **Create virtual machine**: Create a virtual machine and install the ISO.
4 **Create server via MineOS Web GUI**: Create your server via the "MineOS" Web GUI.

If you need further instructions, check these docs:

https://www.thewindowsclub.com/how-to-play-minecraft-cross-platform-between-pc-and-xbox
https://forum.proxmox.com/threads/windows-11-vm-for-gaming-setup-guide.137718/
https://howto.goit.science/level-up...proxmox-install-and-setup-in-under-5-minutes/

Kind regards
BundleDog
 
Adding bungeecord into the mix definitely blew my mind, I've been reading about paperMC and Velocity. I understand networks, firewalls port forwarding etc to a fairly competent level and prefer Linux and despise Windows.

All the kids with the exception of 1 friend use consoles, PS5,XBOX and Switch so Bedrock edition mostly.

I've read that some plugins can be added to the Bedrock version but most play vanilla.

I'm happy to go down the bungeecord route but need to understand order of actions.

I assume create an LXC template so I can clone and then go from there.

What order do I install other things?

If I use BungeeCord, PaperMC and Velocity?
 
Try:

1. **BungeeCord Installation**: (if doesn't exist)

Download BungeeCord
wget https://ci.md-5.net/job/BungeeCord/lastSuccessfulBuild/artifact/bootstrap/target/BungeeCord.jar

Start BungeeCord
java -Xms512M -Xmx512M -jar BungeeCord.jar
```

2. **PaperMC installation**: (if doesn't exist)

Download PaperMC
wget https://papermc.io/api/v2/projects/paper/versions/1.16.5/builds/468/downloads/paper-1.16.5-468.jar

Start PaperMC
java -Xms1G -Xmx1G -jar paper-1.16.5-468.jar


3. **Velocity Installation**: (if doesn't exist)

Download Velocity
wget https://versions.velocitypowered.com/download/1.1.8.jar

Start Velocity
java -jar velocity-1.1.8.jar


Please note that you should make sure that Java is installed on your server before executing these commands. You can check this by typing `java -version` in your console. If Java is not installed, you can install it with `sudo apt install openjdk-11-jre-headless`.

Download GeyserMC and Floodgate:

wget https://ci.opencollab.dev/job/Geyse...Build/artifact/bootstrap/target/Floodgate.jar
wget https://ci.opencollab.dev/job/Geyse...fulBuild/artifact/bootstrap/target/Geyser.jar

Upload plugins to the folder: Upload the downloaded .jar files to the plugins folder of your server.
Restart server: Restart your server so that the plugins can be loaded.

Customize configuration: Change the auth-type in the Geyser configuration to floodgate.
Restart server: Restart your server to apply the changes.

Please note that you can find detailed instructions and support for each of these steps. Have fun playing!

Note: Make sure you are using the latest version of Geyser and Floodgate, as older versions may not be compatible. Also, never distribute your key.pem file as it is used to authenticate Bedrock accounts. If someone receives this file, they could wreak havoc on your server.
 
Try:

1. **BungeeCord Installation**: (if doesn't exist)

Download BungeeCord
wget https://ci.md-5.net/job/BungeeCord/lastSuccessfulBuild/artifact/bootstrap/target/BungeeCord.jar

Start BungeeCord
java -Xms512M -Xmx512M -jar BungeeCord.jar
```

2. **PaperMC installation**: (if doesn't exist)

Download PaperMC
wget https://papermc.io/api/v2/projects/paper/versions/1.16.5/builds/468/downloads/paper-1.16.5-468.jar

Start PaperMC
java -Xms1G -Xmx1G -jar paper-1.16.5-468.jar


3. **Velocity Installation**: (if doesn't exist)

Download Velocity
wget https://versions.velocitypowered.com/download/1.1.8.jar

Start Velocity
java -jar velocity-1.1.8.jar


Please note that you should make sure that Java is installed on your server before executing these commands. You can check this by typing `java -version` in your console. If Java is not installed, you can install it with `sudo apt install openjdk-11-jre-headless`.

Download GeyserMC and Floodgate:

wget https://ci.opencollab.dev/job/Geyse...Build/artifact/bootstrap/target/Floodgate.jar
wget https://ci.opencollab.dev/job/Geyse...fulBuild/artifact/bootstrap/target/Geyser.jar

Upload plugins to the folder: Upload the downloaded .jar files to the plugins folder of your server.
Restart server: Restart your server so that the plugins can be loaded.

Customize configuration: Change the auth-type in the Geyser configuration to floodgate.
Restart server: Restart your server to apply the changes.

Please note that you can find detailed instructions and support for each of these steps. Have fun playing!

Note: Make sure you are using the latest version of Geyser and Floodgate, as older versions may not be compatible. Also, never distribute your key.pem file as it is used to authenticate Bedrock accounts. If someone receives this file, they could wreak havoc on your server.
Do each of the 1, 2, 3, above need to be on a different LXC?

I found Java 17 and later versions for 2 and 3 above, downloaded and installed and ran each individually, initially some errors but realised need to su when running. Have since stopped all.

When running each I recall had 0.0.0.0: <port> ., am I missing something or should they show the host ip?

I need to read all docs before proceeding more.
 
Last edited:
Again, Java won't help if all they got is bedrock edition and they don't have Gaming PCs.
 
Do each of the 1, 2, 3, above need to be on a different LXC?

I found Java 17 and later versions for 2 and 3 above, downloaded and installed and ran each individually, initially some errors but realised need to su when running. Have since stopped all.

When running each I recall had 0.0.0.0: <port> ., am I missing something or should they show the host ip?

I need to read all docs before proceeding more.
No, these files must be in every LXC.

With regard to the Java version, you must of course check which version the kids want to play on. If you don't know which version they are playing, you can also use the very useful ViaVersion plugin.

Regarding IP addresses, you always need the host IPs of the LXC. Please note that the main IP through which the players ultimately join, the other lxc ips must be stored in the config with the respective different port.

I suggest that you contact me via Discord this evening, then I can show you how it has to be set up and we can test it.

And to the other user's unqualified comment, Java is always required for Java files.... xD
 
No, these files must be in every LXC.

With regard to the Java version, you must of course check which version the kids want to play on. If you don't know which version they are playing, you can also use the very useful ViaVersion plugin.

Regarding IP addresses, you always need the host IPs of the LXC. Please note that the main IP through which the players ultimately join, the other lxc ips must be stored in the config with the respective different port.

I suggest that you contact me via Discord this evening, then I can show you how it has to be set up and we can test it.

And to the other user's unqualified comment, Java is always required for Java files.... xD
The kids are mostly playing on Bedrock via console, but from what I have seen and learned yesterday, bedrock can interact with Java servers and certain components support that. Client mods and fabric will not work but server side plugins will work although because of the restrictions the consoles have the scene isn't as big as for Java.

The workarounds where console DNS's can be changed to join other servers is good but will that continue or be eventually blocked...

I'll try and get this up and running today but may take longer. How do I find you on Discord?
 
The kids are mostly playing on Bedrock via console, but from what I have seen and learned yesterday, bedrock can interact with Java servers and certain components support that. Client mods and fabric will not work but server side plugins will work although because of the restrictions the consoles have the scene isn't as big as for Java.

The workarounds where console DNS's can be changed to join other servers is good but will that continue or be eventually blocked...

I'll try and get this up and running today but may take longer. How do I find you on Discord?
Feel free to add my name "bundledog" as a friend.
 
Minecraft works successfully on Debian LXC's, recommendation is to use Velocity for the Proxy and Paper for each of the servers, then depending on uses case GeyserMC and Floodgate.

I have connections working from both Bedrock and Java clients.
 
  • Like
Reactions: BundleDog
Minecraft works successfully on Debian LXC's, recommendation is to use Velocity for the Proxy and Paper for each of the servers, then depending on uses case GeyserMC and Floodgate.

I have connections working from both Bedrock and Java clients.
Thats sounds good my friend :) - Hope my informationen helps other to create there own mc home server :)

@lucasBR5
 
  • Like
Reactions: lucasBR5
Hello guys, and thanks for all the support. When I was almost giving up, I decided to call my ISP just to ask if they were blocking my port forwarding, and indeed they were, as a safety measure by default. After they activated my port forwarding, my server is running normally, and it's been a lot of fun to configure. Thanks again for all the responses!
 
  • Like
Reactions: BundleDog
I'm not having a good time trying to figure this out. I can host a MC server no problem from a standalone Windows machine. I spin up a Debian VM and host a Minecraft server and I have issues accessing it externally.

My wife and I can access it locally. I have tried with specific firewall rules allowing the selected port. I have tried with my firewall set to allow all. I have set DNS records for it to be hidden behind my domain (with and without TCPShield). Nothing is able to see the server externally. NOTHING.

My network gear is all Ubiquiti, so my UDM Pro SE has a firewall rule in place to allow the server to freely be accessed inbound and outbound over the designated port. Yes, the port also matches the port annotated on server.properties.

I usually use Paper, but right now this is just a basic vanilla server. I'm not sure why it's not reaching out. It has to be something with Proxmox or the VM though. Like I said, when I hosted this server on a standalone Windows machine, it was able to be accessed. Not sure what's going on.
 
I'm not having a good time trying to figure this out. I can host a MC server no problem from a standalone Windows machine. I spin up a Debian VM and host a Minecraft server and I have issues accessing it externally.

My wife and I can access it locally. I have tried with specific firewall rules allowing the selected port. I have tried with my firewall set to allow all. I have set DNS records for it to be hidden behind my domain (with and without TCPShield). Nothing is able to see the server externally. NOTHING.

My network gear is all Ubiquiti, so my UDM Pro SE has a firewall rule in place to allow the server to freely be accessed inbound and outbound over the designated port. Yes, the port also matches the port annotated on server.properties.

I usually use Paper, but right now this is just a basic vanilla server. I'm not sure why it's not reaching out. It has to be something with Proxmox or the VM though. Like I said, when I hosted this server on a standalone Windows machine, it was able to be accessed. Not sure what's going on.
Hi,

would you like to contact me via discord?

https://discord.gg/BQQMhX7k
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!