Want a better Minecraft server?
Read about SpigotMC here!
BungeeGuard 1.4.0
A simple plugin which adds a security token to the BungeeCord handshaking protocol.
-
BungeeGuard
BungeeGuard is a plugin-based security/firewall solution for BungeeCord (and Velocity) proxies.The problem
BungeeCord installations are insecure by default, and require additional firewall rules to be configured (using iptables or otherwise) to prevent malicious users from bypassing the proxy and connecting using any uuid/username they choose.This is a well-known issue, and over the years many (even large) servers have been successfully targeted using this attack.
The conventional solution
The conventional solution recommended by the BungeeCord author is to configure a firewall rule using iptables or ufw to prevent outside connections to the backend servers.However, there are two main problems with this:
- Configuring these firewall rules is complicated, especially for inexperienced users.
- Even experienced users sometimes make mistakes or overlook things. Unless the setup is absolutely perfect, rules are prone to being broken during later changes, or reset on system reboot.
- Users on "shared hosting" do not have access to the underlying system and most likely cannot setup their own firewall rules.
Server admins install BungeeGuard (just an ordinary plugin!) on their proxies and backend servers.
- On the proxy, BungeeGuard adds a secret "authentication token" to the login handshake.
- On the backend (Spigot etc. server), BungeeGuard checks login handshakes to ensure they contain an allowed authentication token.
Installation
Installation is very straightforward.If you have access to the underlying system and are able to setup firewall rules using iptables (or otherwise), I strongly recommend you do so. Then, install BungeeGuard as well.
See here for a detailed install guide.
License
BungeeGuard is licensed and made available under the permissive MIT license. Please see here for more information. - Configuring these firewall rules is complicated, especially for inexperienced users.
Recent Reviews
-
MaizuVersion: 1.4.0
- 5/5,
IDK WHAT PEOPLE SAY, THIS WORKS ON 1.20+ USE JAVA 21!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
igonre!
sdafasfasfasddddwdasdwffwffwwwadasdsa -
Ananim353Version: 1.3.3
- 5/5,
FOR PEOPLE WHO ARE WHINING THAT BUNGEEGUARD IS NOT UPDATED
If you need a fresh version, just go to the GitHub of the project specified in the description and then to Development Builds (Jenkins).
The build from there was updated in September 2024 and should work with 1.21 and newer versions of the Proxy server.HOWEVER!
I would recommend you to use Velocity proxy which already has BungeeGuard functions built in -
DoxyCzeVersion: 1.3.3
- 3/5,
The plugin doesn't support newer versions; it seems to be stuck. Hopefully, someone will bring it back to life. :-))
-
bluepigczVersion: 1.3.3
- 1/5,
The plugin is not working please fix it
igonre!
sdafsdfdsfgasadasfdeswfgrswefgf -
LogikozVersion: 1.3.3- 5/5,
very nice!
ignore!
tysdfasdfasdfasdfasdfasdfasdfasdfsadfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf -
-
Hugo8348Version: 1.3.3
- 1/5,
----------------------------
Please Update it to 1.20
---------------------------- -
Amp306Version: 1.3.3
- 5/5,
Does what it was made for, Won't let you connect to the backend servers from using there IP's exept the Bungeecord's IP
-
Link_DarckVersion: 1.3.3
- 1/5,
The plugin does not work !
I was able to connect by creating a bungeecord on my computer -
DrNossTVVersion: 1.3.3
- 5/5,
Good plugin but if you can update for 1.20, it's better ;)
This plugin is a must have !