I've never really used NFS before. So I decided to give it a go on my new debian server. After installing openvpn both on the server and the client I of course needed to put the nfs stuff onto my server. Installed nfs-common and nfs-user-server, tweaked /etc/defaults/portmap to bind the portmapper to one ip, adjustet /etc/hosts.allow and /etc/exports and watched the syslog while trying to connect:
Aug 15 02:13:50 ffm-root58 mountd[30063]: NFS mount of / attempted from 10.2.0.6
Aug 15 02:13:50 ffm-root58 mountd[30063]: / has been mounted by 10.2.0.6
Aug 15 02:13:50 ffm-root58 nfsd[30061]: NFS request from eisenuschi originated on insecure port, psychoanalysis suggested
Semi-True. A psychoanalysis might be a good thing, but / hasn't really been mounted by 10.2.0.6:
Eisenuschi:~ root# mount 10.2.0.1 test
mount_nfs: bad MNT RPC: RPC: Timed out
Not mounted. Alright. Adding "insecure" to the /etc/exports entry fixed this. Server mounted, Jannis happy. I then asked google about tips on how to map uids between server and client, when darwin assured me, that it's nfs-implementation is more broken than working (click to enlarge):
Where's my remote debugger? Samba, here I come!
