Date: Mon, 19 Mar 2007 08:19:47 -0500 From: "Noel Jones" <noeldude@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: export nfs to a host with dynamic IP address Message-ID: <cce506b0703190619j1f37211cvf152bc33da183a93@mail.gmail.com> In-Reply-To: <45FD6651.1060206@realss.com> References: <45FD6651.1060206@realss.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/18/07, Zhang Weiwu <zhangweiwu@realss.com> wrote: > Maybe this is not possible, but can I export NFS share to a host that > have dynamic IP address? > > My office server export an NFS share folder to several local desktop > computers. I often need to access these NFS share from my home computer, > which have dynamic IP address. I do have a fixed domain name, > myhome.ods.org always have a "A" dns record pointing to my home computer. > > Having dynamic IP address never caused a problem for me because, as I > said I have fixed domain name (updated with ez-ipupdate) but when it > comes to NFS it is a problem. If I write my fixed domain name in > /etc/export I wouldn't be able to mount that share. NFS server seems to > check the IP address that wish to connect to it, reverse lookup its > domain name, and compare it with what's written in /etc/exports. For me > it doesn't work because my dynamic IP address cannot reverse resolve to > my fixed domain address. > > So, is there a network file system that can work for my case? I never > tried NFS SSL authentication things because after a google search it > looks quit complex to install and configure: but if that's the only way > to go I'll start to learn it. I also know samba can provide > authentication so I don't have to rely on IP address to control access. > However I never set up samba server before: also I would do it if that's > the only way to go. > > Any suggestions? Thanks a lot in advance. Set up OpenVPN from ports/security/openvpn and export NFS to the VPN tunnel address. OpenVPN is secure, fairly easy to configure, and works well with dynamic IP. -- Noel Jones
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cce506b0703190619j1f37211cvf152bc33da183a93>