Happy New Year!
I have setup a nfs share on one IpFire box, and I see it from an Ubuntu 20.04 guest:
showmount -e 192.168.17.1
Export list for 192.168.17.1:
/mnt/harddisk/dati 192.168.0.0/24
The shared folder is 777 (don’t really like 777, but because I am fighting with permissions…). When I try to mount it, I get:
sudo mount -t nfs -vvvv 192.168.17.1:/mnt/harddisk/dati /home/gian/nfs
mount.nfs: timeout set for Fri Jan 1 19:51:38 2021
mount.nfs: trying text-based options 'vers=4.2,addr=192.168.17.1,clientaddr=192.168.21.139'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 192.168.17.1:/mnt/harddisk/dati
The client is on the other side of OpenVPN tunnel.
The NFS server is set with /etc/exports like:
mnt/harddisk/dati 192.168.0.0/24(rw,sync,no_subtree_check,root_squash)
Can’t really find out what’s wrong with NFS, however, I have no problem with Nautilus to open that folder using the IpFire root account such as:
sftp://root@192.168.17.1:222/mnt/harddisk/dati
But don’t like the approach of using root to access that folder…
Wouldn’t like to use Samba, because I only run Linux on my boxes…
Any ideas?