I
I
Igor Gunkin2019-07-11 18:54:29
virtual box
Igor Gunkin, 2019-07-11 18:54:29

Can a VirtualBox server be connected to the public Internet?

Hello everyone, is there such an opportunity to connect the Web-Server on VirtualBox to the general Internet network, so that anyone can enter, and not just those who are on the local network?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
pfg21, 2019-07-12
@pfg21

in this case, I would advise you to switch the network connection in virtualbox to bridge mode.
the network connection from the virtual machine is transparently connected to the same network as the network connection of the host.
you configure the desired network address on the virtual machine and the entire network with the virtual machine works directly, as with another computer.
https://www.virtualbox.org/manual/ch06.html#networ...
after which you run virtualbox in daemon mode and everything is fine.

R
Ronald McDonald, 2019-07-11
@Zoominger

Yes, you can. Enable "virtual host adapter" in the VM network settings and the VM will appear on your local network like a real PC. Then to Google with the request "port forwarding".

D
Dmitry, 2019-07-11
@hempy80

if there is no desire / ability to do dst-nat, then ngrok

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question