From owner-freebsd-questions@FreeBSD.ORG Mon Mar 19 13:49:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E03E316A403 for ; Mon, 19 Mar 2007 13:49:03 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id 8CB3D13C483 for ; Mon, 19 Mar 2007 13:49:03 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1218864wxc for ; Mon, 19 Mar 2007 06:49:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SS7WX7j8+m0SWijodwF0BYmODUiHMs+P87UlvnfQKafzM0e+zG7/e7DaS5tDKsWkpbr/SRQvURZeK3zUTVB1v0YtjXko+ntp5gKHKmwWaUA2S27qqvy7fKrO+ohoPKPVFA9TNGCtyq7dTnjT43DFyxJ8igIBOEEQQ41aOpJmKX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WxjtsLUfeYrknakJ9HMnMR6e+VnxqU9in85ijgi40qUN6cJj3Ye8v7f7bdUVCEXmArr81wPA7nNtU6qaUVe3xgm96ZY3+3EHJ+iHMKFA2FOSBWvcOGDgZD6Ks1LDD/jfHgObPhP6DyMZ0JYqQYRD2xlUsDqe8fXZPAX3kkcFAaU= Received: by 10.90.56.14 with SMTP id e14mr3867444aga.1174310387207; Mon, 19 Mar 2007 06:19:47 -0700 (PDT) Received: by 10.114.133.17 with HTTP; Mon, 19 Mar 2007 06:19:47 -0700 (PDT) Message-ID: Date: Mon, 19 Mar 2007 08:19:47 -0500 From: "Noel Jones" To: freebsd-questions@freebsd.org In-Reply-To: <45FD6651.1060206@realss.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45FD6651.1060206@realss.com> Subject: Re: export nfs to a host with dynamic IP address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 13:49:04 -0000 On 3/18/07, Zhang Weiwu 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