使用VPN时NFS挂载失败

我已经在我的开发服务器上安装了一个NFS安装,我已经安装在本地机器上,没有问题。 我现在一直试图通过办公室外部的一个VPN把同样的NFS共享挂载到同一台机器上(openSUSE笔记本电脑),但是却出现了以下错误:

mount.nfs: Openration no permitted 

在开发服务器上导出文件:

 /var/www *(rw,all_squash,async,anonuid=500,anongid=500) 

在开发服务器上指定的NFS选项

 # Server Mountd Protocol mountproto=udp # Server Port Port=2049 

使用在本地工作但不通过VPN的安装命令:

 sudo mount 192.168.7.2:/var/www /var/www 

VPNconfiguration:

 client resolv-retry 20 keepalive 10 60 nobind mute-replay-warnings ns-cert-type server comp-lzo verb 1 persist-key persist-tun explicit-exit-notify 1 dev tun proto udp port 1194 cipher AES-128-CBC cert keys/{{ key name }}.crt key keys/{{ key name }}.key ca keys/{{ key name }}.crt remote {{ office ip address }} 1194 # public address remote {{ office ip address }} 1194 # static WAN 1 

使用:

 /usr/sbin/openvpn --config {{ config name }}.conf 

我应该注意的是,除了NFS的VPN工作正常,我可以使用virt_manager与办公室的KVM主机,ssh到本地服务器,还ssh到远程服务器locking到办公室ip地址。 NFS共享位于Centos 6.8服务器上,我试图安装共享的笔记本电脑正在运行openSUSE Leap 42.1。 我能够通过VPN ssh进入运行NFS挂载的机器,而当我尝试挂载时,NFS共享(centos服务器)在/ var / log / messages中logging以下错误,这使得我认为它必须连接到服务器罚款:

 authenticated mount request from 192.168.1.90:992 for /var/www (/var/www)