Create GREE Tunnel (Protect Minecraft Server)

Discussion in 'Hosting Advice' started by Minemarc98, May 14, 2016.

  1. Hello,

    I need to create a GRE Tunnel to protect my minecraft server from a VPS with AntiDDos protection to my BungeeCord.

    How could I create it? (Could you tell me the commands to Centos 7)
     
  2. Yes, but the command "ip tunnel add gre 1 mode gre..."
    It does not work.
     
  3. Your kernel probably doesn't support GRE tunneling then. Try setting up an IPIP tunnel instead.
     
  4. I do not work, put these commands in linux terminal:

    echo 'net.ipv4.ip_forward = 1' >> /etc/sysctl.conf
    sysctl -p
    iptunnel add ipip1 Local ipip YOUR_FILTERED_IP remote mode DESTINATION_SERVER_IP ttl 255
    ip addr add 192.168.168.1/30 dev ipip1
    ip link up in September ipip1

    But I get that there. (I follow the tutorial IPIP)
     
  5. Did you replace YOUR_FILTERED_IP and DESTINATION_SERVER_IP with the correct IPs? They should be the DDoS protected IP and the Bungee IP (without the port) respectively.
     
  6. Yes, found:
    (-bash: iptunnel: command not found)
     
  7. Do you have iproute2 installed?
     
  8. Their kernel supports it since you have kvm aslong your vps is from 2016
     
  9. Yes i have installed the iproute2:

    yum install iproute
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: centos.mirrors.linux.ro
    * extras: centos.mirrors.linux.ro
    * updates: centos.mirrors.linux.ro
    Package iproute-3.10.0-54.el7.x86_64 already installed and latest version
    Nothing to do
     
  10. I'm not using OVH
     
  11. You should run bungeecord on your vps and the spigot servers somewhere else
     
  12. No, I have 3 Bungee Cords and many people
    And so I want to create 3 gre tunnels
     
  13. Try putting it as two words - i.e. instead of "iptunnel", do "ip tunnel"