Answer the question
In order to leave comments, you need to log in
How to open a server for the Internet?
There is a server on Ubuntu in VirtualBox with ip 192.168.1.***. Is it possible to "open" it to the internet/access it over the network?
Answer the question
In order to leave comments, you need to log in
the very first thing you need is a white ip, then set up a port forward on the ip with the server
The very first thing you need to do is set up a network bridge. From memory, the type of network adapter is changed in Virtual Box, the physical connection and the virtual one are combined into a network bridge in the Windows interface, after which Ubuntu on the VM and the physical machine on Windows are on the same subnet, with different addresses (192.168.1.x and 192.168. 1.y). Next, it's up to you to set up port forwarding. Write in more detail what service you want to make available behind NAT? What equipment is the ISP's internet cable connected to?
If we are talking about a web server and you have a router, then in its settings you need to specify a rule for incoming packets on port 80, redirect packets to the address 192.168.1.y and the same port. Also find out if you have a white ip?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question