S
S
Sergey2017-07-01 22:02:12
linux
Sergey, 2017-07-01 22:02:12

Set up two VMs on VirtualBox 5.1 which is installed on CentOS 7?

There is a remote server with CENTOS 7 raised on it. Two white ip
It turned out to configure and raise the CentOS network and install two WinServer08 and CentOS 6.9 machines on VIrtualBox.
I can not get access from outside to each machine separately.
WinServer08 needs RDP
CentOS 6.9. - it is planned to install cPanel

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Zhurkin, 2017-07-01
@icCE

You need to do port forwarding to your virtual machines.
Something like this
-t nat -A PREROUTING --dst EXT_IP -p tcp --dport 3389 -j DNAT --to-destination MACHINE_IP_IN_LAN_NETWORK:3389
But I would not expose the rdp port outside.
Alternatively, you can make a bridge and give the provider's ip to the machines, but then you need 3 ip addresses.
Well, another note, it's better not to consider the work of VB, since it is generally slow.
Look towards KVM, as a variant of a ready-made host solution with the proxmox.com admin panel.
In particular, for linux, you can use the LXD or Docker container and save resources.
Win no options in KVM.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question