1. The latest Spigot and BungeeCord builds have been updated to include support for Minecraft versions 1.7.2, 1.7.5, 1.7.6, 1.7.7 and the newly released 1.7.8. In order to enable this support all you need to do is to update to at least Spigot build #1387 and BungeeCord build #883.
    Additionally Spigot builds #1388 and above are full builds, not just protocol updates. Please note that these builds are still in development and quite unstable, as such staying on #1387 may be beneficial. When using these builds backups are very important as 1.7.8 makes PERMANENT changes to the way player data is stored.

So, I did it. Now some one help me with iptables.

Discussion in 'Server & Community Management' started by jeff142, May 26, 2013.

  1. jeff142

    jeff142 Supporter

    I did it, Legitplay.net is no longer offline mode, it was fun well it lasted but we massively out grew it.

    Now i need to set up ip tables on my boxs so no one gets in the back end ips.

    I found how to block ports, but how can i make a bridge for my other physical box to only let bungee on?

    Examble
    Physical server 1 physical sever 2
    192.168.1.1 ---------->bungee-----------> 10.1.1.1


    (Ubuntu servers)
    • Agree Agree x 1
  2. This should do the trick (for the backend server) http://pastebin.com/4JSpJRQj

    Ensure you have iptables installed, set it's location (line 6) and you may need to adjust the save and restart commands on lines 30 & 31 depending on your environment.

    You may not need the loopback interface enabled (lines 18 & 19) and you may choose to remove the checks for TCP sessions starting with SYN on line 22.

    On line 26 you need to replace 22 with the port you use for SSH.

    On line 27 you need to replace the IP 8.8.8.8 with the IP of your Bungee server.

    Finally, "chmod +x <script>" and "./<script>" or "bash <script>"

    I don't use this exact setup personally (use a bungee setup on the same physical machine), but it should work. It may be worth running it in a screen session as well - it may drop your ssh connection mid way through the script which would cause a headache.