How to make nfs share accessible across subnets?
Little Girl
littlergirl at gmail.com
Sat Feb 12 21:01:29 UTC 2022
Hey there,
Bo Berglund wrote:
>Well, I got a tip on using tcpdump to monitor the traffic while
>failing to connect and it turned out that for the case of connecting
>to an NFS share on another host on the LAN its real IP address was
>used, but when trying to mount the NFS share on the server that is
>also the OpenVPN server the IP address used was the tunnel specific
>NAT-ed address! Thus a 10.8.139.xx address. And therefore the nfs
>server rejected it...
Aha, and that makes perfect sense.
>After adding the tunnel network to exports as well as widening the
>client spec for the network to encompass 1024 addresses (which
>covers both the 117 and 119 networks) the final export command looks
>like this:
>
>/home/bosse/www/MSNBC -rw,sync,no_subtree_check,insecure
>192.168.116.0/22 10.8.139.0/24
>
>The last part covers the tunnel access addresses and the first both
>of the LANs (home and remote).
>
>Now working OK.
That's terrific news. As Hannibal would say, "I love it when a plan
comes together."
>PS:
>Regarding my various use of VIDEO and video:
>This was an attempt at hiding the real names MSNBC and msnbc, which
>is the USA news network I download nightly (in Sweden) for viewing
>daytime.... But I finally gave up on that futile hiding action.
No worries. I'm so glad it's all sorted out and working fine now.
--
Little Girl
There is no spoon.
More information about the ubuntu-users
mailing list