i have a server with ESXi in my local network. i can connect to it via vSphere from my local network but can't connect from internet. Some people http://www.logicalsolutions.co.nz/connect-vsphere-client-externally/ achived by port forwarding so did i.
ESXi settings
ip 192.168.100.118
mask 255.255.255.0
gateway 192.168.100.1
Router settings
incoming port 443 forwarded to 443 of server 192.168.100.118 (my ESXi)
incoming port 902 forwarded to 902 of server 192.168.100.118 (my ESXi)
vSphere "public ip":port
still no connection.
So i thought if the problem was with router and forwarded some port to my local sqlserver port. It works
Maybe there are some settings where can i enable public access to ESXi.
for connect to esxi remotely you have two solution.
if you use Esxi 6.5 its has WebConsole client instead of vsphereClient that you can connect to it remotely on port 80.
you can connect via ssh on port 22 that dpcument in this link