I'm not too experienced in minecraft servers, but i just started one and wanted to invite some people so that they could play. I just cant trust them with my ip. Is there a way to get a custom ip and prevent it from ddos protection for free?
if you are home hosting all you can do is add a layer ontop to mask your ip, but its simple to remove the mask.
if you are worried about getting ddos'd then rent a server from a hoisting company with ddos protection, or pay a company to get ddos protection on your ip
The only way to keep people from knowing the IP address of your server is to run through a proxy. Otherwise they can always see the address that their client is connected to.