Setup is an Ubuntu host with a VirtualBox that has a FreeBSD 12 client having a bridged network adapter. The Ubuntu host is connected to a FreeBSD 11 server (and other stuff) via a VPN tunnel.
I wish to mount an NFS directory on the FreeBSD 11 server. The server is reachable from BSD since the network is bridged, so I don't need to run a separate tunnel. Ping "works".
I get an error message on mount from BSD (no cut'n'paste from the Vbox):
The server log contains
Wouldn't it be nice if the message included the remote port number? [hint, hint, nudge, nudge]
As far as I can make sense of the tcpdump (on the BSD client) of the interaction, the request goes out from the BSD client on port 842.
The Ubuntu side can mount OK and netstat shows
I speculate that the Vbox bridge reassigns the source port. Can anyone confirm?
I wish to mount an NFS directory on the FreeBSD 11 server. The server is reachable from BSD since the network is bridged, so I don't need to run a separate tunnel. Ping "works".
I get an error message on mount from BSD (no cut'n'paste from the Vbox):
RPC: Authentication error; why = Client credential too weak.
The server log contains
mountd[686]: mount request from 10.8.0.6 from unprivileged port
Wouldn't it be nice if the message included the remote port number? [hint, hint, nudge, nudge]
As far as I can make sense of the tcpdump (on the BSD client) of the interaction, the request goes out from the BSD client on port 842.
The Ubuntu side can mount OK and netstat shows
tcp 0 0 asus:909 fb111:nfs ESTABLISHED
I speculate that the Vbox bridge reassigns the source port. Can anyone confirm?
https://unix.stackexchange.com/questions/261541/rpc-authentication-error-when-mounting-nfs
describes a similar problem. The guy eventually broke down and used Samba.