How to obfuscate the public IP address of a mining pool, to protect it against DDOS attacks?

I have a yiimp mining pool running on a cloud server.

I would like to secure it with HTTPS and anti-DDOS by obfuscating the public ip using Cloudflare, while still retaining stratum mining functionality from the yiimp pool.

The domain of my website is mycoin.io and I have set up the DNS to point to cloudflare. So now the website has HTTPs and DDOS protection.

My yiimp pool server is hosted on the cloud at and I have setup cloudflare to redirect subdomain pool.mycoin.io to that ip address.

Now my mining script can look like this:

-o stratum+tcp:// -u WALLET_ADDRESS -p c=BUEN

or like this:

-o stratum+tcp://pool.mycoin.io:3747 -u WALLET_ADDRESS -p c=BUEN

But this does not provide any https or anti-ddos protection.

How can I obfuscate the public IP of my pool so that:

-o stratum+tcp://pool.mycoin.io:3747 -u WALLET_ADDRESS -p c=BUEN

still works?

  • pool.mycoin.io is currently NXDOMAIN - something is not setup right.
    – Willtech
    May 24, 2018 at 9:28

2 Answers 2


The Stratum Mining Protocol ist not based on HTTP, so you will not be able to mediate it through Cloudflare or a similar service, unfortunately. Cloudflare and the like are designed for web content as in web pages.


Use anti-ddos service like cloudflare and it should hide it as well as prevent ddos. I never tried it to mine so not guaranteed ill work but there is no other way to hide it

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.