From owner-freebsd-questions@FreeBSD.ORG Sun Mar 18 16:18:37 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 F35D616A400 for ; Sun, 18 Mar 2007 16:18:36 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from bossdog.realss.com (bossdog.realss.com [211.157.108.128]) by mx1.freebsd.org (Postfix) with ESMTP id AFC5A13C46E for ; Sun, 18 Mar 2007 16:18:36 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id 1BE541C0004 for ; Mon, 19 Mar 2007 00:18:33 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23563-10 for ; Mon, 19 Mar 2007 00:18:32 +0800 (CST) Received: from [192.168.1.200] (27.206.57.59.board.xm.fj.dynamic.163data.com.cn [59.57.206.27]) by bossdog.realss.com (Postfix) with ESMTP id 29E3C1C0003 for ; Mon, 19 Mar 2007 00:18:29 +0800 (CST) Message-ID: <45FD6651.1060206@realss.com> Date: Mon, 19 Mar 2007 00:18:25 +0800 From: Zhang Weiwu User-Agent: Thunderbird 1.5.0.7 (X11/20060918) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Subject: 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: Sun, 18 Mar 2007 16:18:37 -0000 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. Best Regards Zhang Weiwu