Author

Topic: VirtualBox: miner in host, client in guest machine (Read 1212 times)

member
Activity: 110
Merit: 10
Thanks Wiggi. It worked perfect. To the King, VirtualBox worked very well.
legendary
Activity: 2058
Merit: 1452
vmware works fine for me. you just have to configure the virtual network properly.
full member
Activity: 154
Merit: 100
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?
sr. member
Activity: 403
Merit: 251
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.
member
Activity: 110
Merit: 10
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)
sr. member
Activity: 403
Merit: 251
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
                                                                    host port
                                                                    guest IP
                                                                    guest 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.
Jump to: