I've got an NFS mount set up on my development server which I have been mounting on local machines without issue. I've now been trying to mount the same NFS share to the same machine (openSUSE laptop) this time through a VPN from outside the office but it comes up with the following error:
mount.nfs: Openration no permitted
Export file on the development server:
/var/www *(rw,all_squash,async,anonuid=500,anongid=500)
NFS options specified on development server
# Server Mountd Protocol
mountproto=udp
# Server Port
Port=2049
Mount command used which works locally but not through VPN:
sudo mount 192.168.7.2:/var/www /var/www
VPN config:
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
Ran using:
/usr/sbin/openvpn --config {{ config name }}.conf
I should note that besides NFS the VPN works fine, I'm able to use virt_manager with the office KVM host, ssh into local servers and also ssh into remote servers locked to the offices ip address. The NFS share is on a Centos 6.8 server and the laptop I'm attempting to mount the share on is running openSUSE Leap 42.1. I'm able to ssh into the machine running the NFS mount through the VPN too and the fact that the NFS share (centos server) is logging the following error in /var/log/messages when I attempt to mount makes me think it must be connecting to the server fine:
authenticated mount request from 192.168.1.90:992 for /var/www (/var/www)