[请问] VMware Host-Only

楼主: momo81 (毛毛)   2014-07-21 00:57:30
目前作业系统Win7
用VMware架http server(CentOS 7 + httpd)
然后VM的网卡是用Host-Only(只想要自己连连看)
VMware的IP分配是192.168.56.101
我从Win7这边Ping 可以Ping的到
但是用NMAP扫不知道为什么VM的PORT只有22有开
所以从Win7这边连不进去server的index.html
不过从VM里面自己在firefox打192.168.56.101测试是正常的
且VM的防火墙也关了
因为是新手>< 想请问这样子还有可能哪边有问题
我httpd也是设定开80 port呀
还可以怎样测试去找出问题点 感谢!
作者: wuliou (wuliou)   2014-07-21 01:00:00
你有做port forwarding吗很久没碰VM了 有点忘记…
作者: blackhippo (PH6.0 微.酸民)   2014-07-21 01:38:00
port forwarding开启后win7防火墙也要开洞..然后用win7
作者: WandZarDeen (Nosa)   2014-07-21 01:38:00
show下netstat -ntulp 跟 iptables -L -nv
作者: WandZarDeen (Nosa)   2014-07-21 01:40:00
Host only为虚拟网段,Host与VM在同一网段无须转埠
作者: blackhippo (PH6.0 微.酸民)   2014-07-21 01:45:00
忘了之前是用啥网卡模式了= =~之前是靠port forward强制只能SSH登入..然后host port号特别改过..
作者: WandZarDeen (Nosa)   2014-07-21 01:46:00
Centos7似乎nftables取代iptables了,原PO检查下nftables的policy是不是有跑起来?

Links booklink

Contact Us: admin [ a t ] ucptt.com