NFS 的防火牆設定 - Linux

By Christine
at 2009-07-28T17:35
at 2009-07-28T17:35
Table of Contents
我想在 Fedora 7 上想建立一個 NFS server
已經開啟 rpcbind nfs,但是在防火牆的設定方面有點問題:
在 client 端打 showmount -e (IP),如果我關閉防火牆,client端可以正常顯示,
如果防火牆開啟後,會出現
mount clntudp_create: RPC: Port mapper failure - RPC: Unable to receive
如果我打開 111:tcp 111:udp 2049:tcp 2049:udp 後,會出現
rpc mount export: RPC: Unable to receive; errno = No route to host
我搜尋了一些文章,有人提到 nfs 開啟的 port 是隨機的,
所以要到 /etc/sysconfig/nfs, 指定 nfs 使用的 TCP/UDP Port
但是rpcbind(或稱portmap)的功能不就是固定 port 為 111 嗎?
我不知道是什麼地方出錯了,請各位前輩指導一下,謝謝。
--
已經開啟 rpcbind nfs,但是在防火牆的設定方面有點問題:
在 client 端打 showmount -e (IP),如果我關閉防火牆,client端可以正常顯示,
如果防火牆開啟後,會出現
mount clntudp_create: RPC: Port mapper failure - RPC: Unable to receive
如果我打開 111:tcp 111:udp 2049:tcp 2049:udp 後,會出現
rpc mount export: RPC: Unable to receive; errno = No route to host
我搜尋了一些文章,有人提到 nfs 開啟的 port 是隨機的,
所以要到 /etc/sysconfig/nfs, 指定 nfs 使用的 TCP/UDP Port
但是rpcbind(或稱portmap)的功能不就是固定 port 為 111 嗎?
我不知道是什麼地方出錯了,請各位前輩指導一下,謝謝。
--
Tags:
Linux
All Comments

By Eden
at 2009-08-01T07:00
at 2009-08-01T07:00

By Madame
at 2009-08-05T20:37
at 2009-08-05T20:37

By Ingrid
at 2009-08-10T06:59
at 2009-08-10T06:59

By Jacky
at 2009-08-11T03:57
at 2009-08-11T03:57

By Carol
at 2009-08-14T01:49
at 2009-08-14T01:49
Related Posts
捲起視窗

By Rebecca
at 2009-07-28T17:31
at 2009-07-28T17:31
Re: 剛剛把 Hinedo 修好了,使用者免下載新版,會꘠…

By Rebecca
at 2009-07-28T17:04
at 2009-07-28T17:04
請問ubuntu 9.04的安裝問題

By George
at 2009-07-28T16:40
at 2009-07-28T16:40
請問ubuntu 9.04的安裝問題

By Catherine
at 2009-07-28T15:52
at 2009-07-28T15:52
開機停在sendmail停很久

By Eden
at 2009-07-28T14:38
at 2009-07-28T14:38