Local Server Stratum Server Forwarding
Budget: $30 – $250 USD
What I need is a way to point all my PCs (clients) to one main PC (server) (I use Windows 10) and that one Main PC receives connections from clients and forwards them to another stratum server.
The gist:
If you are familiar with crypto mining, your miners connect to a mining pool via a stratum server.
An example configuration using Gminer miner connecting to 2miners Ethereum pool:
Gminer.exe --algo ethash --server us-eth.2miners.com:2020 -u walletid.workerid
So if you have 4 mining rigs, then each rig runs the above command and you can change out the workerid to signify which rig is connected and running.
What I want:
I have a main PC that we will call the Server.
I want the Server to listen for connections and connect with clients (each mining rig) on say port 8080. When clients connect to server, the server
forwards/connects clients to a stratum server as listed above, us-eth.2miners.com:2020 .
So each mining rig would use a batch file command such as:
Gminer.exe --algo ethash --server 127.01.01.123:8080 (the main PC/server ip and port) -u walletid.workerid
In a nut shell:
Main server listens for connections on local network on an open port
Clients connect to main server
Main server forwards clients to actual stratum server:
us-eth.2miners.com:2020
or
stratum+tcp://eth.2miners.com:2020
I also need a way where the clients constantly stay connected to server but the server can switch which stratum server the clients connect to on the fly.
So if I am connected to us-eth.2miners.com:2020 via the server and want to change it to eu1.ethermine.org:4444 on the fly, I should be able to do this
with minimal effort and it does not cause the clients program to restart.
I would prefer Python 2.7 or maybe node.js but if it's written in another language, I will need a good setup and instructions guide.
The gist:
If you are familiar with crypto mining, your miners connect to a mining pool via a stratum server.
An example configuration using Gminer miner connecting to 2miners Ethereum pool:
Gminer.exe --algo ethash --server us-eth.2miners.com:2020 -u walletid.workerid
So if you have 4 mining rigs, then each rig runs the above command and you can change out the workerid to signify which rig is connected and running.
What I want:
I have a main PC that we will call the Server.
I want the Server to listen for connections and connect with clients (each mining rig) on say port 8080. When clients connect to server, the server
forwards/connects clients to a stratum server as listed above, us-eth.2miners.com:2020 .
So each mining rig would use a batch file command such as:
Gminer.exe --algo ethash --server 127.01.01.123:8080 (the main PC/server ip and port) -u walletid.workerid
In a nut shell:
Main server listens for connections on local network on an open port
Clients connect to main server
Main server forwards clients to actual stratum server:
us-eth.2miners.com:2020
or
stratum+tcp://eth.2miners.com:2020
I also need a way where the clients constantly stay connected to server but the server can switch which stratum server the clients connect to on the fly.
So if I am connected to us-eth.2miners.com:2020 via the server and want to change it to eu1.ethermine.org:4444 on the fly, I should be able to do this
with minimal effort and it does not cause the clients program to restart.
I would prefer Python 2.7 or maybe node.js but if it's written in another language, I will need a good setup and instructions guide.