From 9ddc6bb9d4c8ddaad84e3b0b39f9fcf926741dcb Mon Sep 17 00:00:00 2001 From: jahway603 Date: Mon, 30 Aug 2021 12:22:46 -0400 Subject: [PATCH 1/2] added section regarding OS firewall --- mining/solo-mining.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/mining/solo-mining.md b/mining/solo-mining.md index 2cfd438..de047a6 100644 --- a/mining/solo-mining.md +++ b/mining/solo-mining.md @@ -38,10 +38,20 @@ First we need to setup the Hush configuration on our computer. Change the ```rpcuser``` and ```rpcpassword``` above to something unique as it will be used later. Note: If you had more than 1 ASIC, then each one would get it's own rpcallowip line item. +1. If you have a firewall enabled on your computer, we must give access to the ASIC device on the proper port of stratum server. + + ``` + sudo ufw allow from 192.168.33.66 to any port 19031 + sudo ufw reload + sudo ufw status + ``` + + Note: If you have some type of unique network setup, then you may need to disable or change something on your router if your ASIC isn't connecting to live pool or your local stratum pool. + 1. Next we start the hush daemon (hushd) at the command line with special options to enable a stratum server. ``` - ./src/hushd -stratum -debug=stratum -stratumallowip=192.168.0.0/16 + ./src/hushd -stratum -debug=stratum -stratumallowip=192.168.0.0/16 &> hush-stratum.log ``` Substitute your hushd path and your local network appropriately in the above command. From 258b290f4e41bd53d354be0b022f523e80c04fcc Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Thu, 16 Sep 2021 19:04:30 +0000 Subject: [PATCH 2/2] Update 'README.md' --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 45df013..a808abf 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ If you know what you're doing, and want to setup a server to help the Hush commu If you need some Hush kung-fu, then you know what to do!!! **This is not for regular users :)** +- RPC documentation: https://faq.hush.is/rpc/ - [SDL in the RAW](advanced/sdl-in-the-raw.md): this howto is to setup an SDL server locally if your system is unable to access any online ## Support Links