Доступ к vCenter Server из Интернета (удаленная сеть)

13422
applejuice

У меня есть эта топология:

enter image description here

И я хотел бы иметь возможность предоставить своим пользователям доступ к vCenter Server через Интернет (здесь я буду использовать VPN, но безопасность здесь не главное, по крайней мере, сейчас).

В vSphere Doc ( Обязательные порты для vCenter Server ) я прочитал, что vCenter необходимо, 443чтобы порт был открыт, чтобы принимать запросы vSphere Client. Но я не знаю, как именно это должно работать ( важно : это просто тестовая среда; vCenter Server не имеет ценных данных, поэтому, по крайней мере, сейчас я не беспокоюсь о безопасности; я просто хочу узнать, как это сделать) ,

Я думал сделать это так:

  1. Переадресация портов, то есть переадресация 212:182.22.23:443на192.168.0.2:443
  2. Дайте моим клиентам (на данный момент - только я из другой комнаты через Интернет, да) IP-адрес 212:182.22.23
  3. Установите vSphere Clientна мой компьютер с Windows 7
  4. Введите vSphere ClientIP 212:182.22.23пароля и введите пароль

Это достаточно? Смогу ли я с этой настройкой получить доступ к vCenter через Интернет? Или мне нужно что-то еще? Я читал, что vCenter во время установки должен открывать порты, которые ему нужны, на ESXi, так что все готово (я надеюсь, что так). Разве мне не нужны другие настройки на моем роутере?

1
Что случилось, когда ты попробовал? Ƭᴇcʜιᴇ007 10 лет назад 0
@ techie007: Просто не мог подключиться - не знаю почему, может быть, я забыл / не знаю о том, что тоже нужно сделать? applejuice 10 лет назад 0

1 ответ на вопрос

0
mjaestewart

On your router, also forward port 902 to your VMWare host IP address.

When outside of your network this method should work as following:

Connected using External IP (go to google and search "what is my IP") > Internal Router

=========================================================================

Router Setup = Single Port Forwarding:

ESX Host = 443 > 443 > Both (TCP/UDP) > Your machine's IP > Enabled

Vsphere Client = 902 > 902 > Both (TCP/UDP) > Your machine's IP > Enabled

==========================================================================

Computer Setup = Firewall Settings:

Inbound = Set VMware Player/Vsphere Client/Workstation/etc. > Private, Public, and Domain!

Outbound = Do the same for outbound as you did for inbound!

==========================================================================

Testing Using CMD = Ensure Telnet is enabled:

telnet (External IP Address you got from google) (Ports that are need to be tested)

Example: telnet 182.521.22.1 902 (do the same for 443)

If you get a blank black screen then you connected successfully and you can connect remotely

===========================================================================

Testing Vsphere Client:

When you open the Program:

Type in the External IP:Port Number

Example:

External IP Address: 182.521.22.1:443

User: root

Password: alfjhdl;fdsj;lhd

If you connect to your ESXi Host, then you've been successful!

============================================================================

If you are unable to connect or telnet:

1. Check your firewall to ensure ports 902 and 443 are allowed for Inbound/Outbound for Domain, Public, and Private.

2. Check to see if you have any other program blocking the connection by disabling the program from running (Malwarebytes, etc.)

=============================================================================

As a side note, you might want to sign up for dynamic DNS so you can use a host name for you External facing IP address. You can then sign into the Vshphere Client using the FQDN of your DDNS rather than your External IP address.

Good luck!