Configure NAT and local network for virtual machines
Use Virtual Box to install the Linux (RHEL7) virtual machine on the company's office computer, hoping to access the Internet through the company agent and connect to the host computer.
Steps:
Shut down the virtual machine
Configure two network cards for the virtual machine in the virtual machine settings. The first is "Network address Translation" and the second is "Host Network only".
You can view the host's network in Virtual Box's: management = "Host Network Manager, which uses the network of 192.168.56.0 and 24:
Start the virtual machine. To start these two network cards in the network settings of the virtual machine, you can manually configure its IP:
Network proxy configuration can also be done here.
Complete