Page 1 of 1

Trying to do a few things

Posted: 26. Jul 2014, 07:34
by Life2dmax
Hi guys, I'm trying to do a few things on my VB and I need some help (i'm sort of a nooby)

I got ubuntu successfully installed on my virtualbox (I have windows 7)

What I want to do is run a java program with the virtual box and use a VPN on it

--would doing this give me 2 different IPs on my computer?
--How would I download the VPN and the Java? I have tried but it seems to still open the .jar file i am trying to access as a zip file. The vpn i am using is spotflux (but i am happy to use another one that works)

Thanks!

Re: Trying to do a few things

Posted: 26. Jul 2014, 14:59
by mpack
Life2dmax wrote: --would doing this give me 2 different IPs on my computer?
That depends on the network mode. In fact that question (combined with a more basic internet yes/no choice) kind of defines the purpose of the various supported network modes.

If you choose NAT mode then the VM internet messages are relayed by the host, so to the outside world it was the host which sent them. The downside is that the host must decide on every received packet whether or not to relay that packet to the guest, seeing how the IP address is shared. So basically, an NAT guest can only receive replies, not unsolicited messages. That means it's good for basic Internet browsing, but no good for complex protocols, print serving etc.

You can't use Microsoft VPN with VirtualBox NAT.

If you choose Bridged mode then the VM bypasses the hosts internet and instead uses the host's network adapter at a lower level. The VM has it's own LAN address (i.e. MAC), and it's assigned an IP address by the same mechanism that your host uses - usually either a router/modem or a server PC. So yes, the VM and the host would appear on your LAN as two separate devices: however to the outside world they may appear as a single IP, depending on how your router works (often they have an IP sharing scheme similar to NAT). The guest should be capable of implementing any protocol which the host is capable of, however business servers may not like seeing an unknown MAC on the local network.
Life2dmax wrote: --How would I download the VPN and the Java? I have tried but it seems to still open the .jar file i am trying to access as a zip file. The vpn i am using is spotflux
I'm afraid I can only help with VirtualBox questions. I don't use Java or VPN myself.