R
R
Rem362017-10-22 21:10:45
virtual box
Rem36, 2017-10-22 21:10:45

How to make a network between a server on Win7 and virtualbox?

Hello. I installed Virtualbox on the server and installed Ubuntu on it. Installed Django + nginx on ubuntu. Ubuntu got the ip address of the corporate network. How to organize access to the site, how to make sure that all computers in the corporate network can reach the site on ubuntu?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-10-23
@Rem36

If I understand correctly, you configured the network in bridge mode, and received the address for Ubuntu via dhcp.
Next, on Ubuntu, you have services up, primarily a website, you alone know what port it listens on.
Set up corporate dns to resolve the name (it's easier in my opinion) to the ip address received via dhcp for Ubuntu.
If there are restrictions on the network, let your network administrator know about the new service. In addition, on the Ubuntu server itself, you need to configure a firewall (iptables, ebtables, depending on which package is worth it) if you installed it.
To check which ports are open and listening, you can use the netstat -an command.
Then on a computer in the corporate network, you simply open a browser, drive in the name invented in dns ( http://corpsite:8080)-> profit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question