Internet share between guests Windows VM's
Posted: 8. Aug 2018, 05:34
Hello, I have an ubuntu 18.04 as my host machine and two Virtualbox VM's, the first is a Windows 7 VM which I use to connect to my company VPN and the second is a Windows 10 machine which I use for development.
Normally both VM's have internet access via a NAT connection.
What I want to do is to share the VPN from Windows 7 VM with the Windows 10 VM, for that I thought of having two network for both VM's, one is the NAT one that already existed, and the other would be an internal or host-only network which both VM's can communicate.
So, the idea is that I normally would use the NAT network in the Win 10 VM, and when I need to access the company private network, I would disable this network and enable the internal one.
Then, I would fire the Win 7 VM and connect to VPN, an that communication I would share with the Win 10 VM via the internal network.
My question is how to do this connection sharing.
Using a host-only connection and setting a static ip, I can ping each VM, but whenever I try to enable the internet sharing feature for this network in the VM Win 7, I can't access the internet (or the private company network).
So it seems that I'm doing something wrong with my network configuration to not be able to access the internet sharing.
Finally, my question is how can I configure the network for this scenario? Most of the articles that I found online is talking about internet sharing between host and guest, but I couldn't find one which talk about internet sharing between guest and guest.
Normally both VM's have internet access via a NAT connection.
What I want to do is to share the VPN from Windows 7 VM with the Windows 10 VM, for that I thought of having two network for both VM's, one is the NAT one that already existed, and the other would be an internal or host-only network which both VM's can communicate.
So, the idea is that I normally would use the NAT network in the Win 10 VM, and when I need to access the company private network, I would disable this network and enable the internal one.
Then, I would fire the Win 7 VM and connect to VPN, an that communication I would share with the Win 10 VM via the internal network.
My question is how to do this connection sharing.
Using a host-only connection and setting a static ip, I can ping each VM, but whenever I try to enable the internet sharing feature for this network in the VM Win 7, I can't access the internet (or the private company network).
So it seems that I'm doing something wrong with my network configuration to not be able to access the internet sharing.
Finally, my question is how can I configure the network for this scenario? Most of the articles that I found online is talking about internet sharing between host and guest, but I couldn't find one which talk about internet sharing between guest and guest.