How to SSH to guest ubuntu OS in vmplayer4

Posted by Grace on Server Fault See other posts from Server Fault or by Grace
Published on 2012-07-10T08:33:18Z Indexed on 2012/07/11 3:18 UTC
Read the original article Hit count: 523

Filed under:
|

I have installed vmplayer4.0.4 on Windows7, and install ubuntu12.04 as Guest OS. Basically i have two problems:

  1. Default vmplayer use NAT for network access. I could ping the guest OS from the Host OS. But how could i access the Guest OS from outside the Host OS?

  2. If i change to Bridged Mode, sure the Guest Ubuntu OS could get DHCP ip in the same subnet as Host OS. But i could not ping the Guest OS from the Host OS, or vice versa, even if i disable the iptables firewall on Ubuntu Guest OS like following:

iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT

I could not figure it out, could anyone help on this issue? Thanks in advance.

© Server Fault or respective owner

Related posts about ubuntu

Related posts about vmware-player