I setup a Linux virtual machine on a Linux host, using NAT network.
When connect from virtual machine to host, it is successful. But there is a problem from host connect to virtual machine, the error message of ping is:
ping sendmsg operation not permitted
There need set an port mapping of NAT.
In host Linux, edit configure file /etc/vmware/vmnet8/nat/nat.conf
add one line "2222 = 192.168.27.128:22" under [incomingtcp]
192.168.27.128 is IP of virtual machine.
Then reboot
ssh -l root -p 2222 localhost
will telnet to virtual machine from host Linux.
Reference
1. http://www.vmware.com/support/ws55/doc/ws_net_nat_advanced.html
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment