Author

Topic: PoolOverSocks5 - Relay pool data over a socks5 proxy. (Read 103 times)

newbie
Activity: 2
Merit: 0
Hello,
This is just a simple application I wrote in the past few days that I wanted to share with others, and I figured the best place to post would be here.

PoolOverSocks5
Source Code (.NET Core) | Releases

What this can do
PoolOverSocks5 can relay data from your desired cryptocurrency miner to a pool over a socks5 proxy.
If you've used torsocks to relay data before through the tor network, the concept is similar.

Where would something like this be useful?
I designed this application in mind for working behind a network that is firewalled.

My initial test case on linux was to use xmr-stak with tor/torsocks to mine on my laptop however I encountered a socket error in the process, writing this and manually using tor
I figured that this could also be a cool learning experience to write in .NET Core.

How to use
At the moment, there is no form of saved configuration other than command line arguments, I would suggest writing a batch/bash script depending on your operating system.
PoolOverSocks5 is written in .NET Core so it should work on Windows, macOS or Linux.

Go ahead and download the latest release from the releases link above, extract it and navigate to the innermost PoolOverSocks5 directory, then compile using the following commands:

Code:
> dotnet restore
> dotnet build
> dotnet run     [PoolAddress:port]              [Socks5Address:port]            [RelayAddress:port]
> dotnet run     pool.address.com:3333           127.0.0.1:9050                  127.0.0.1:3333
(The first argument should be your pool, the second your socks5 proxy, and the third is the local address and port that PoolOverSocks5 should listen on.)

Example usage image (Using the application with xmr-stak, tor and a pool.):
https://raw.githubusercontent.com/Elycin/PoolOverSocks5/master/PoolOverSocks5/images/xmr_stak_tor_demo.png

Jump to: