This how-to tutorial was created by BuyVM. We offer affordable and reliable **[[https://buyvm.net/kvm-dedicated-server-slices/|Dedicated KVM Slices]]** with features other hosting companies don't have, like Anycast, DDoS filtering, Offloaded MySQL, and Stallion our control panel. {{buyvm_logo.png?300|}} =====Setup a GRE Tunnel for Pterodactyl/Docker===== If you want to DDOS Protect a Docker Container or a Pterodactyl game server or egg running in a docker container please follow this guide. Please follow these steps to use these scripts. **You will also need a DDoS Protected IP which is $3.00/m, read the [[:ddos|DDoS Protection]] page for more information** **Do not ask for help with them unless you're an active customer, we won't help you and there's a 100% chance you'll get kicked from our community chat.** **Once this is enabled you will no longer be able to directly connect to your backend server! You must connect through your DDOS protected IP** Follow these steps: On the BuyVM side: - Create a file with nano named ''/root/enable_tunnel.sh'' and paste the contents that are in this paste: [[https://paste.ee/p/mL8M3|https://paste.ee/p/mL8M3]] - Change the IP address in the variables in the top half of the file. - Type: ''chmod +x /root/enable_tunnel.sh'' - Type: ''/root/enable_tunnel.sh.'' On the backend side: - Create a file with nano named ''/root/enable_tunnel.sh'' and paste the contents that are in this paste[[https://paste.ee/p/UXsVZ|https://paste.ee/p/UXsVZ]] - Change the IP address in the variables in the top half of the file. - Type: ''chmod +x /root/enable_tunnel.sh'' - Type: ''/root/enable_tunnel.sh''