How to Use TCPShield for a Minecraft Server
TCPShield is a service that provides DDOS protection for your servers. Us here at SparkedHost highly recommend TCPShield for servers big and small as it as a amazing tool in order to protect your servers.
Creating network and configuring backends
- First of all go to TCPShield and create a free account.
- Once in the panel click create "Add Network" then enter your networks name
- Navigate to Backends Then Click "Add Set"
- Set the Name to anything you like for example "Main" or "Production". The "Backends" is your IP address to your server
In the example of SparkedHost, I am running two BungeeCords I want to load balance between, so I'm going to add the IP/port combination for both of those instances (1.1.1.1:25565, 1.2.3.4:25565).
Click save.
Configure the domain and add records
- First, navigate to the domains page and click "Add Domain" at bottom of the page.
- My domain is sparkedhost.com, which I will insert into the modal. I will then click the dropdown for the backend set and use the one we just created.
Then, click "Begin verification"
Domain Verification
- I will copy the TXT record and insert it on the root(required) of my domain on Cloudflare DNS manager.
Once my domain is saved, you can attempt to verify the domain on the TCPShield panel.
This process can unfortunately can take sometimes up to several hours for DNS to fully propagate to where Cloudflare (our internal resolver) will see it. This is why we highly recommend everyone use Cloudflare for DNS management. This process often trips up many people, so before contacting us, we would encourage to double check that the TXT record has properly propagated worldwide using this page: whatsmydns
As a general note, from our observations Namecheap DNS takes the longest with an average time of 5 hours.---
Point Domains and DNS
Now that we have verified the domain with TCPShield, we need to decide how we want players to connect to our network. Often, owners want players to only join with a subdomain like play.sparkedhost.com
. Other times, owners would like the ability for both players to join with play.sparkedhost.com
sparkedhost.com
but still allow a website to exist with an A record.
I want my server to allow people to join through sparkedhost.com, so I will set this accordingly in the hostname field on the domain page. TCPShield domains are wildcarded, so we do not need to add another record for play.sparkedhost.com
Install the TCPShield Plugin
- On the same domain page, you can find the link to download the plugin for BungeeCord, Velocity and Spigot.
- Login to the server in our apollo panel where we will install the TCPShield plugin and we shut down the server.
- Navigate to the server files, and click on the server plugins folder.
- Upload the plugin that we downloaded from the TCPShield Github page.
Turn on your server and that's it, we will have our TCPShield setup and installation done and working properly.
If you require any further assistance, please create a ticket here.
Created By: Steven C.
Updated on: 02/04/2025
Thank you!