Synology 服务器和 Raspberry Pi 客户端之间安装 NFS 单元时出错

Synology 服务器和 Raspberry Pi 客户端之间安装 NFS 单元时出错

我正在尝试将 NFS(v4 或 v3.. 但出现相同的错误...)从 Synology 服务器安装到 Raspberry Pi 客户端。但我收到此错误:

mount -t nfs4 IP_address_of_server:/volume1/nfsnvf /mnt/nfsnvf
mount.nfs4: Connection timed out

如果我尝试使用该showmount命令,会出现此错误:

showmount -e IP_address_of_server
clnt_create: RPC: Port mapper failure - Unable to receive: errno 113 (No route to host)

我在公司网络中(路由器后面)有一个 Synology 服务器: - 此路由器中打开的端口:TCP/2049、UDP/2049、TCP/111 和 UDP/111 - Synology 服务器的 IPTables 列表:

DiskStationV5> iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
DEFAULT_INPUT  all  --  anywhere             anywhere

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
DEFAULT_FORWARD  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain DEFAULT_FORWARD (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere             multiport dports sunrpc,892,nfs
ACCEPT     udp  --  anywhere             anywhere             multiport dports sunrpc,892,nfs
ACCEPT     all  --  anywhere             anywhere

Chain DEFAULT_INPUT (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere             multiport dports sunrpc,892,nfs
ACCEPT     udp  --  anywhere             anywhere             multiport dports sunrpc,892,nfs
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere

然后在另一个公司网络中我有一个 RaspberryPi(在另一个路由器后面)。 - 在此网络中打开的端口:TCP / 2049,UDP / 2049。

另外,/etc/exportsynology 生成的是这样的:

/volume1/nfsnvf
*(rw,async,no_wdelay,root_squash,insecure_locks,sec=sys,anonuid=1024,anongid=100)

知道问题可能出在哪里吗?

相关内容