From owner-freebsd-questions@FreeBSD.ORG Thu Apr 24 15:35:40 2008 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 5570D1065672 for ; Thu, 24 Apr 2008 15:35:40 +0000 (UTC) (envelope-from colin.brace@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id C4C0D8FC19 for ; Thu, 24 Apr 2008 15:35:39 +0000 (UTC) (envelope-from colin.brace@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so5633998fka.11 for ; Thu, 24 Apr 2008 08:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; bh=S7gnMURBUJkkYPLSX93UU9ml1OetcdQGA5PteklW42U=; b=K97+9Nae4dqoKYygG5i6faP2jWnrrev+akHkZEcXppxLVFlG/moIUNzM2/xP8pRZWZapNaFWffyJzbAcNZhBUqg2TDKwD13Jeprk6mz447/VXQBNh1bs3EyAUJULdENLio79O6aXJ4WWmQ/hOQa3r7zofMhmlIer2Lt/bom1kbw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=hoVL9hs0y0bpxMcMO/ND+o/+74kiCA3O4s+fond+KEmFZcg2Vn2pUBBsGIHiA+8afPwALqJe7i+XQWoHnjB7KcB8BkWIHSuK/m9GcqMt57+JZF45Tlr1zK9jKJQYZPKSnJ/KjV38j9sPSvvQLa6Zxxax1iLOQFUlI6nJPvytBjs= Received: by 10.82.185.3 with SMTP id i3mr2570159buf.61.1209051338116; Thu, 24 Apr 2008 08:35:38 -0700 (PDT) Received: by 10.82.114.14 with HTTP; Thu, 24 Apr 2008 08:35:38 -0700 (PDT) Message-ID: Date: Thu, 24 Apr 2008 17:35:38 +0200 From: "Colin Brace" Sender: colin.brace@gmail.com To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: 170644395bc91ba0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: nfs & firewall, hard vs soft mount 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, 24 Apr 2008 15:35:40 -0000 Hi all, I have a FreeBSD v7 box set up as gateway/mailserver/WAP. I leave my WAP unencrypted, so my neighbors can use it, and use PF to allow just a few specific services (dhcp dns, http, https). I'd like to be able to mount a couple of NFS shares from a desktop box running Fedora on a wireless client. I've opened the sunrpc and nfs ports in PF, but that doesn't seem to be enough. tcpdump indicates some high upd ports in the 40k-50k range are used in the nfs negotiation, but I can't figure out exactly what is going on. Does anyone know what additional ports need to be opened for nfs? Will I need to use PF to redirect this udf traffic to the fedora host or will it find the nfs server on its own? Also, this page here: mentions hard vs soft mounts. Since wifi is ocassionally flaky, and since the wireless client (a laptop) is not always within range, I'd prefer to not to mount them via fstab, but via in a batch file with "mount", but that command doesn't appear to support soft mounts. In the past, I've noticed that nautilus etc on the client has a fit when hard-mounted nfs shares disappear. Can anyone recommend a robust way of mounting NFS shares? I've also tried to mount remote file systems using sftp in gnome (ie, sftp://host/dir), but the new gvfs subsystem (which apparently replaces gnome-vfs) still seems flaky; it freezes up my laptop every few times. Another drawback of sftp is that it appears to add some overhead which I notice when watching AVI files -- the media player ocassionally stutters. In any case, suggestions for alternative approaches to mounting remote file systems via wireless would be most welcome. -- Colin Brace Amsterdam http://lim.nl