Hi, is there a way to have a stratum proxy server for multi pool mining? The idea is to have one place where I could specify the pool (with user/password) and not have to reconfigure each miner in order to switch pools (or coins) - I could just switch it in the proxy and all my miners would start working for the new pool.

Hi, is there a way to have a stratum proxy server for multi pool mining? The idea is to have one place where I could specify the pool (with user/password) and not have to reconfigure each miner in order to switch pools (or coins) - I could just switch it in the proxy and all my miners would start working for the new pool.

I do not see a way to use it as a proxy server. The mining devices are connected to a Linux PC that runs bfgminer (for a BFL device) and a modified cgminer (for Technobit HEX16B - no bfgminer support for it). I cannot move the devices to a Windows PC.

I need a simpler daemon. One that just sits between the stratum client (cgminer, bfgminer) and the actual pool, just gets the work from pool and sends it to the miner. Then I could just switch the pool manually or write a script to do it for me.

I tried MultiMiner. bfgminer seems to work well with it, but cgminer gets h-not-zero errors for all shares.

I then found out that MultiMiner uses bfgminer as stratum proxy. Compiled a new version of bfgminer and ran it on the mining PC - same result - bfgminer works with it, but cgminer gets h-not-zero errors.

Both bfgminer and cgminer work properly when connected to an actual pool.

I tried MultiMiner. bfgminer seems to work well with it, but cgminer gets h-not-zero errors for all shares.

I then found out that MultiMiner uses bfgminer as stratum proxy. Compiled a new version of bfgminer and ran it on the mining PC - same result - bfgminer works with it, but cgminer gets h-not-zero errors.

Both bfgminer and cgminer work properly when connected to an actual pool.

Yes, Luke knows about this issue and is looking into it. In the meantime either use bfgminer rather than cgminer (to connect to the proxy) or use the GetWork port rather than the Stratum port. And maybe pop over to the bfgminer thread to mention this as well so Luke knows there are several users running into it:

Here are the instructions for setting a mining proxy which allows all your miners to connect via the proxy instead of via their own config. This way you only have to stop then start a single process on the proxy to change pools instead of messing with each miner to do the switch.

Setup mining_proxy.py on a linux machinepont slush's mining_proxy.py at a pool of your choosing using a bash script file (remember to chmod 755 so you can run the bash script with ./)setup each pool you want to mine with it's own script (same -sp (port) for each )point all your miners at the proxy server with the port you are usingmake sure all pools use the same worker names and passwords (since this is setup on the miners)start your chosen bash script (best to use screen so you can exit the session and leave it running)miners can be switched by ssh via screen -d -r , then ctrl-c (to kill the proxy), now just run the correct bash script to switch to the next pool.

I found this thread because I was looking for a fancy way to have a script read coinchoose api for the most profitable coin and to then turn on that stratum proxy, So that I'm mining a group of profitable coins and not just the one I have configured. I have my miners themselves setup to mine a failover pool if the alt-coin pool is down.

I'm also looking for some advanced stratum proxy. MultiMiner is problematic, because it uses BFGminer as the proxy, which has problems with various cgminers. The famous mining-proxy (from here: http://mining.bitcoin.cz/mining-proxy-howto) is somehow useless, since I can only define one pool and thus I don't have any backup/failover pools.

So, is there any decent advanced stratum proxy? By "advanced" I mean:- it should have support for mutiple pools (primary, backup/failover ...)- it should work with various cgminers, sgminers and other forks of them (vertminer...)

Basically what I want is to have a single machine as a proxy, and all my miners would connect to this machine, and then to the actual pools. Miners can be configured for various coins (regular scrypt, vertcoin, scrypt-jane, keccak ... of course all miners would mine the same type of coin at once).

I'm also looking for some advanced stratum proxy. MultiMiner is problematic, because it uses BFGminer as the proxy, which has problems with various cgminers. The famous mining-proxy (from here: http://mining.bitcoin.cz/mining-proxy-howto) is somehow useless, since I can only define one pool and thus I don't have any backup/failover pools.

So, is there any decent advanced stratum proxy? By "advanced" I mean:- it should have support for mutiple pools (primary, backup/failover ...)- it should work with various cgminers, sgminers and other forks of them (vertminer...)

Basically what I want is to have a single machine as a proxy, and all my miners would connect to this machine, and then to the actual pools. Miners can be configured for various coins (regular scrypt, vertcoin, scrypt-jane, keccak ... of course all miners would mine the same type of coin at once).

and then all single miners are pointed (using fake credentials) to the stratum_proxy using getwork 8332 port and http:// protocol (i do not know why, but only only getwork works to connect scrypt miner to the stratum_proxy).

Then, when you need to switch all mining rigs, simple launch a new batch with taskkill /f /im stratum_proxy.exe and with the new credentials to a different more profitable pool...

But this very simple approach will not solve the lost shares when switching from one pool to another... It could be great if someone could point us to a better solution to avoid losing shares when switching from a pool to an other

So, is there any decent advanced stratum proxy? By "advanced" I mean:- it should have support for mutiple pools (primary, backup/failover ...)- it should work with various cgminers, sgminers and other forks of them (vertminer...)

..

Any suggestions?

I would like to know too; but until then there is a simple trick you could do.

Then in your cgminer/bfgminer coinfigs, just setup it up to point to all 10 ports on your proxy server : mylocalproxy:4000, mylocalproxy:4001, ... mylocalhost:4010

So all miners connect to all pools. Just bring down (or up) the pools you want on any of those 10 ports. It works good. That is, if pool 7 is most profitable, then kill all other forwarders but the one running on 4007. All your miners will "fail over" to that pool/port since it's the only one up.

Or the other way, instead of having 10 ports; just have one and switch it around to point it to whatever you want.

This works good, the only problem is making sure you have the correct workers.

I solved definitively using my linux machine and installing on it CryptoManiac / stratum-mining-proxy. Using already compiled exe on windows machine was too unstable (disconnected after 1 hour of work)

What I dont know is this: When you go into CGminer and point it at the new stratum server, do you use "stratum+tcp://192.168.1.121:3333" or "x:8333" or "http://x " I cant get it to work... says my pool is dead on cgminer, but listening on the stratum server....