Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Network your vm into a bridge with a real host interface. We do not make any settings on the canvas.
If your provider gave you 1 IP, and you want to go to the Internet from the host, then add another interface to virtualk, configure the IP on it from the non-routable range - gray IP. For example, 10.0.0.2/24, and inside the vm we make 10.0.0.1/24, then enable ip forwarding and configure masquerading (nat) for the gray network.
We get that the virtualka sticks out to the Internet with a white IP, and the host goes to the Internet through the virtualka.
it is not described how a white IP is issued to the host system, and indeed the conditions
1. if it is possible to control the issuance of white IPs, then on the virtualbox set up a bridge between the guest and the network in which it is possible to receive a white IP and associate the poppy address of the guest network card with the white IP.
2. if there is only one white IP and is bound to the host, then in virtualbox set up NAT mode for the guest and forward the necessary ports to the guest.
You can come up with a couple more options, but you need to know the conditions of the place.
In theory, no way, the white IP is connected to your host machine anyway.
You can do port forwarding of specific ports to a specific virtual machine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question