Virtualbox open network global

beinik6

Respectable
Nov 12, 2017
314
1
1,960
So hello, I just got into using Ubuntu on my VirtualBox because my laptop is dead.

So, the problem now is that I have exactly NO clue what I have to setup that my VM can be accessed from ANYWHERE.

I did get it to work that I can access it from the Host machine via the IPv4 (192.xxx.......), but I cant access it through that IP from anywhere else. I do can access it via the local IP (10.0.xx.....) from other PCs in the Network.

So my question: How can I setup the network so I can access the VM from ANYWHERE of the world.. I did use IP forwarding for the Ports too.
 
Solution
First, you should configure your host computer to provide "bridged" network adapter to the guest VM so that VM receieves its IP address from the router.
Second - port-forwarding remote access is recipe for disaster, on several levels. Install a VPN server on the router, and when you need access to that VM, VPN into your network.

I've played in the past with Google Chrome Remote Desktop, you might want to check it.
A few remote viewers use firewall pinholes to establish connections, eg teamviewer or google remote desktop.

You will only need two clients to use them.

If your underlying system is windows i'd recommend that for google remote desktop. It has a lot of problems in Ubuntu. I haven't tested team viewer.
 
First, you should configure your host computer to provide "bridged" network adapter to the guest VM so that VM receieves its IP address from the router.
Second - port-forwarding remote access is recipe for disaster, on several levels. Install a VPN server on the router, and when you need access to that VM, VPN into your network.

I've played in the past with Google Chrome Remote Desktop, you might want to check it.
 
Solution