Bitcoin Forum

Other => Beginners & Help => Topic started by: wiggi on May 02, 2013, 08:22:36 PM



Title: VirtualBox: miner in host, client in guest machine
Post by: wiggi on May 02, 2013, 08:22:36 PM
Many alt-coin/modded/patched clients are very interesting but less than fully trustworthy,
and VirtualBox has no good GPU support.

So, for solo mining the miner should run on the physical host machine and connect to the client
in the virtual machine, via "virtual box port forwarding".
Expert level manuals are easy to find, but is there a simple step-by-step howto for beginners?


Very short version would be like:

-Miner: connect to localhost 127.0.0.1 and to some unused port xxxx.

-VBox network settings (for this virtual machine): networking mode: NAT (default)
                                            port forwarding: host IP <empty>
                                                                    host port <the unused port xxxx>
                                                                    guest IP <empty>
                                                                    guest port <the actual rpc port>

-in config file for client in guest machine: rpcallowip=*

This should do it. Guest firewall (in its default state, tested on Linux mint and Win7) is mostly harmless.


Title: Re: VirtualBox: miner in host, client in guest machine
Post by: BlockChains on May 07, 2013, 02:10:22 AM
Hi. Do you mean I literally put an asterisk in the part where it says rpcallowip? Or  do I put whatever ipconfig gives me?  Thanks. (Win 7 guest, Win 8 host)


Title: Re: VirtualBox: miner in host, client in guest machine
Post by: wiggi on May 07, 2013, 05:19:21 PM
Do you mean I literally put an asterisk in the part where it says rpcallowip?
Yes, literally an asterisk.

Ip address of Default Gateway (from Ipconfig on the guest side) seems to work too.


Title: Re: VirtualBox: miner in host, client in guest machine
Post by: theking on May 07, 2013, 05:48:55 PM
thanks, will give this a go, vmware didnt work out so well, but maybe vbox
have you tried running the wallet in sandboxie also and the settings still working?


Title: Re: VirtualBox: miner in host, client in guest machine
Post by: grue on May 07, 2013, 06:12:14 PM
vmware works fine for me. you just have to configure the virtual network properly.


Title: Re: VirtualBox: miner in host, client in guest machine
Post by: BlockChains on May 08, 2013, 02:44:53 AM
Thanks Wiggi. It worked perfect. To the King, VirtualBox worked very well.