[請問] 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