※ 引述《yuan0258 (阿元)》之銘言: : 我在Server端掛載自己本機NFS開放的磁碟 : sudo mount -t nfs 192.168.x.x:/home/yuan0258 /mnt/nfs : 這樣可以成功 : 但是如果掛載透過vmware NAT出去的實體IP : suod mount -t nfs 140.123.x.x:/home/yuan0258 /mnt/nfs : 這樣就會顯示time out : 如果用showmount檢查的話 : sudo showmount -e 192.168.x.x : 會有顯示 : Export list for yuanlinux: : /home/yuan0258 * : sudo showmount -e 140.123.x.x : 則就沒有顯示任何東西 這樣看來是NAT的問題 外部沒辦法用你的140.123.x.x 使用你內部資源 你是否有把外面requst NFS 的那幾個port轉入自己內部ip -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.230.1.203 推 yuan0258:我用的方法是直接在VMware下面開port 09/26 08:16 → yuan0258:xp下能夠將requst的port轉入內部ip嗎? 09/26 08:17 → yuan0258:因為我所知道的方法是用iptables routing才能轉 09/26 08:17 → yuan0258:我用Client端nmap Server是有發現111跟2049的port 09/26 08:18 → yuan0258:我想這樣應該表示內部ip所用的port有轉出去 09/26 08:19