CraftBukkit : Allow only ips 127.0.*.*

Discussion in 'Bukkit Help' started by Autogire, Jun 5, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Autogire

    Hi, I'd like to allow only ips which begin by 127.0.*.*
    How can I do it ? Thanks

    Because I use craftproxyLiter so for example, client 1 wants to connect to the server :
    client 1 > 93.25.66.246 >craftproxy > 127.0.10.10 > 127.0.0.1:25565 ( mineattaque.myftp.org ) (1)
    So I want to prevent direct connect like that to force people using craftproxyliter
    client 1 > 93.25.66.246 > mineattaque.myftp.org
    (2)

    I want to only allow (1) not (2)

    If you don't know what is craftproxy : http://forums.bukkit.org/threads/mi...use-by-caching-chunk-data-1-2-3.15479/page-46
     
  2. Offline

    SirTyler

    so you basically want to allow only people on your local network? Because the 127.0.0.1 is your local machine, meaning if you are allowing only that ip to connect, you are only allowing the machine running the server to play.
     
  3. Offline

    Anavrins

    What OS do you use?
    On Linux you can configure iptables to limit the 25565 port to the "lo" interface.
     
  4. Offline

    Wendo

    Or you could just add 127.0.0.1 to the server.properties file as the IP address
     
Thread Status:
Not open for further replies.

Share This Page