I used this fee redirecter for some time. I can see there is different ways and solutions on the internet now. So why not just share the goodies.
Work on linux DSTM <= 0.5.7
Link 1:
https://ufile.io/zktoqLink 2:
https://files.fm/u/vk7ydcvuUse
Code:
LD_PRELOAD=/absolute/path/to/the/fee_hashpower_redirect.so ./zm <standard-arguments-you-typically-give-to-it>
It will tell you when it replaces the fee address with the one you start zm with and reroute hashpower to your current pool with same name as your miner you started zm with.
You should get around 2% on SSL connection and 2,5% without SSL. But actually 2/2.5% is not to notice.
Before telling me this AIN'T working. Try it. Check sol/s on your pool. DSTM is not adding the sol/s to the statistics in the miner. But noticing you when its replacing the address and redirect the hashpower to your current pool and address you started it with.Cheers happy mining.