Due to the fact that the dev of optiminer stopped developing his miner i decided i am no longer paying his devfee. Here is the steps i took to work around paying his ridiculous 10% fee.
git clone https://github.com/rgerganov/nfqsed
for ethos:
sudo apt-get-ubuntu -y install libnetfilter-queue-dev
for ubuntu:
sudo apt-get install -y libnetfilter-queue-dev
next compile nfqsed:
cd nfqsed
make
sudo cp nfqsed /usr/local/bin
for ethos: edit your custom.sh script that runs at boot:
cd /home/ethos
vi custom.sh
Add these lines before exit 0:
sudo iptables -t nat -A OUTPUT -p tcp --dport 3333 -d eu1-zcash.flypool.org -j DNAT --to 192.99.33.207
sudo iptables -A OUTPUT -p tcp --dport 3333 -d eu1-zcash.flypool.org -j NFQUEUE
sudo iptables -A OUTPUT -p tcp --dport 3333 -d us1-zcash.flypool.org -j NFQUEUE
sudo /usr/local/bin/nfqsed -s /t1RsS2XVTjEeGST1RdKzPRSu5GTu45WsqcU/t1dHzudQn6gxUncY1o9wqu8T6BM26c5qzVY >/dev/null &
minestop && minestart
for other ubuntu distros add that to your startup scripts, minus the minestop line
Basically what this does is watch the packets for his Zcash address mining to eu1-zcash.flypool.org and replace it with your address mining on us1-zcash.flypool.org (or change that to your pool)
Also you’ll wanna change the 2nd Zcash address in the nfqsed line to your own address, or leave it in for a little while to donate some to me, since i just saved you a 10% dev fee to someone who doesn’t do development work any longer.