0
For educational purposes only...
Scenario: My friend and I want to solo mine on 1 wallet. But, his computers are not on\in my LAN network.
The wallet has been set to server mode: -server
bitcoin.conf
rpcuser=user
rpcpassword=pass
server=1
cgminer settings: -o localhost:port -u user -p name
This works fine for solo mining on just my computer. But how can I change it so that he can connect to my Bitcoin wallet from another state which is obviously outside my LAN?
3You will want to pay attention to this note in the config file: NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED, because the rpcpassword is transmitted over the network unencrypted. An attacker who discovers your rpcpassword can spend your money. – Greg Hewgill – 2014-02-12T23:36:12.703
I think you are confused about the term "solo mining". – Murch – 2014-02-13T14:56:30.097
There are possible configurations to do something like what you are looking to do. But I cant understand why your friend wouldn't want to run his own wallet, on a p2pool configuration, all other users need to specify is the their address. the get block template etc is all done with the local wallet in order to reduce latency and improve performance. – hafnero – 2014-03-09T08:34:06.477
In terms of unencrypted transmission of the rpcpassword: You may want to setup some kind of P2P VPN first between your friend and yourself to make sure traffic between your nodes cannot be intercepted. – TorstenS – 2018-06-05T11:16:51.737