From owner-freebsd-questions@FreeBSD.ORG Thu Aug 16 21:01:15 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE1B316A417 for ; Thu, 16 Aug 2007 21:01:15 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 61A6A13C45A for ; Thu, 16 Aug 2007 21:01:15 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so337911uge for ; Thu, 16 Aug 2007 14:01:14 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Cby74Iki9Si+pgxkjrHThpnMGMUxxcG/frrxFNdBR6N8456q5TF/us63mM9arsqrCdvrv5g46Qf3O5hFifhojbnDaet0L92d18Q7RXBgAVG+Ptz8/OQSEP069OrKRU/RXcr3cpJfamoWT7s2ERYsk89GAZkoc/aw3LW8bJaftmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HxuVOLWo/TCnLQk5a882BEMr0QAuuIfQigkPuusHGC57VFP/KkIzWJZNEGCK2mh8eXnwiynIdQD93q7mg4mMhRW4v39KZsgMMM1wwS9sO/BgaOrX6doNDrBr7vCLt+6fS714jy3pWlAznpM4oBl02raENC7J6N3d6FuWh2vXDZE= Received: by 10.142.52.9 with SMTP id z9mr145651wfz.1187296433068; Thu, 16 Aug 2007 13:33:53 -0700 (PDT) Received: by 10.142.80.8 with HTTP; Thu, 16 Aug 2007 13:33:53 -0700 (PDT) Message-ID: <54db43990708161333g5713fc0an7af4f3b4cf32623f@mail.gmail.com> Date: Thu, 16 Aug 2007 16:33:53 -0400 From: "Bob Johnson" To: "Laszlo Nagy" In-Reply-To: <46C4905A.1020202@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46C4905A.1020202@shopzeus.com> Cc: freebsd-questions@freebsd.org Subject: Re: Share folder over internet 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: Thu, 16 Aug 2007 21:01:15 -0000 On 8/16/07, Laszlo Nagy wrote: > Hi All, > > Here is a problem that I cannot solve. I have two offices with two file > servers (FreeBSD 6.1). Clients are accessing files over samba and nfs (on > the local server). I would like to share some directory structures between > the two offices. Originally I was thinking about sshfs (mount_sshfs) but I > cannot compile fuse from the ports. NFS cannot share subdirectories, only > whole filesystems and it is not secure to use over the internet. > Unless I'm very confused, BSD NFS can export directories and directory trees in addition to filesystems. See export(5). Internet security should be attainable with an appropriate firewall configuration that allows the servers to only talk to each other. > [...] > What should I use? > I often suggest Coda (ports/net/coda6_server & coda6_client) for this sort of situation, but it has been so many years since I've used it myself that I don't know what state it is in these days. I hope the documentation has improved. Note the client runs on the local file server, so you don't need to change anything on end-users' workstations. In your case, though, it sounds like NFS would actually do what you need. - Bob