Bitcoin Forum
May 05, 2024, 11:15:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: VirtualBox: miner in host, client in guest machine  (Read 1193 times)
wiggi (OP)
Sr. Member
****
Offline Offline

Activity: 403
Merit: 251


View Profile
May 02, 2013, 08:22:36 PM
 #1

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.
1714907717
Hero Member
*
Offline Offline

Posts: 1714907717

View Profile Personal Message (Offline)

Ignore
1714907717
Reply with quote  #2

1714907717
Report to moderator
1714907717
Hero Member
*
Offline Offline

Posts: 1714907717

View Profile Personal Message (Offline)

Ignore
1714907717
Reply with quote  #2

1714907717
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714907717
Hero Member
*
Offline Offline

Posts: 1714907717

View Profile Personal Message (Offline)

Ignore
1714907717
Reply with quote  #2

1714907717
Report to moderator
1714907717
Hero Member
*
Offline Offline

Posts: 1714907717

View Profile Personal Message (Offline)

Ignore
1714907717
Reply with quote  #2

1714907717
Report to moderator
BlockChains
Member
**
Offline Offline

Activity: 110
Merit: 10


View Profile
May 07, 2013, 02:10:22 AM
 #2

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)
wiggi (OP)
Sr. Member
****
Offline Offline

Activity: 403
Merit: 251


View Profile
May 07, 2013, 05:19:21 PM
 #3

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.
theking
Full Member
***
Offline Offline

Activity: 154
Merit: 100



View Profile
May 07, 2013, 05:48:55 PM
 #4

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?

WIN: WQvqPASu4ffjfupfwkZCX2zECLAedBfSxT /// TheSmurfsCoin. TgKhTqtEe2NRQXKzUNL6TXs9NNSXTvxg26 /// [ANN] PixxCoin | PoS | Wallet with built in Exchange Dice Game And Fa | Free IPO. PLncxuyTOpsdASEAIweeoweKSJASJDNZETR /// CoolCoin - Free+IPO POS. CJG2g8CDkTrj5TMHHzi9ynkAvHamuUiKhC /// Get GiveawayCoin(GC)? (Free 100%NO IPO NO POW,PURE POS. G********* /// Let's flower the moon. Shjtq1XLnjgpbzSK3SvqMhQpK9CeAYLCPZ /// FootballCoin(FBC):FiaYuHEWhoS8v5dPbGLRDh7FBtcDV7TdnA /// Freebiescoin- 100% FREE Distribution FKDJUQ4Ybzdno2hoAP2NuYh1VAaTwMq1y2 /// ShareCoin Free and Fair Distribution. SR8eG4bhC2CzKnN2PfBz7vtj3zrcyXAuWr /// Energycoin - Save Energy, Pure POS (Free IPO). eCvsqEW2oFaSRq4XozfrHP8XuZ9kvrfQ5W /// Tagbond Rewards - My TAG ID is 5834 - Tag someone today with a reward, get your own TAG ID # (www.tagbond.com/5834)
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
May 07, 2013, 06:12:14 PM
 #5

vmware works fine for me. you just have to configure the virtual network properly.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
BlockChains
Member
**
Offline Offline

Activity: 110
Merit: 10


View Profile
May 08, 2013, 02:44:53 AM
 #6

Thanks Wiggi. It worked perfect. To the King, VirtualBox worked very well.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!