Bungeecord Firewall

Discussion in 'BungeeCord Help' started by ImEvo2, Jan 21, 2020.

  1. So I'm trying to set up a firewall for my servers and I've been trying to do it following this guide.

    But when I do iptables -I INPUT ! -s 149.38.67.84 -p tcp --dport 25900 -j DROP
    (Not the real ip and port, just an example)

    I cannot connect to the server through the bungee anymore and the guide doesn't give much more info outside of that one line.

    The current server I want to protect is running on the same machine as the bungee but I want to connect another server running on a different machine, can anyone help me?
     
  2. First of all, don’t block the bungee port.
    Second use 127.0.0.1 instead.
     
  3. Instead of using iptables in that case you can edit server.properties file and set server ip to 127.0.0.1