We have two type network connection in my lab, one is internal net, all computers in this type network can not access internet themself, but they could access internet via a proxy server ; one is external net, all computers in this type network can access internet themself.
If my computer connection is in internal net,the client is loading inventory for a long time when I use VMware sphere client to log into the VMware server, and give a message 'Error connecting'. below two screen shots is for error description. but if my computer connection is in external net, I can log into vmware server successfully.
Below is the description for my VMware server infrastructure:
My vmware server have two NICs, vmnic1 and vmnic0. vmnic1 is used for internal net,vmnic0 is used for external net. I set up serval hosts in my vmware server,one of them is used for proxy, all computers in my lab can access internet by this proxy host via vmnic1.
In proxy host, I add two configurations for iptables like below:
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT
Additional, I have another vmware server, I also can log into vmware server successful if my computer connection is internal net. and network for this two server are the same.
How can I debug this issue ? Thank you very much!