From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-76896-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Ja3wf-0000dn-4r
	for garchives@archives.gentoo.org; Fri, 14 Mar 2008 07:03:13 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1E57EE06A3;
	Fri, 14 Mar 2008 07:03:11 +0000 (UTC)
Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179])
	by pigeon.gentoo.org (Postfix) with ESMTP id 0A111E06A3
	for <gentoo-user@lists.gentoo.org>; Fri, 14 Mar 2008 07:03:11 +0000 (UTC)
Received: by py-out-1112.google.com with SMTP id w53so4824348pyg.25
        for <gentoo-user@lists.gentoo.org>; Fri, 14 Mar 2008 00:03:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id;
        bh=CS3FLAeJB5rOaqqxRAm+wJc6CIUDkOnxWAfUXkqVSKs=;
        b=u1GvWeRqN5EKMnzPo1VDle+XJxrkMxR7q3/nADc6GD0yry11oTpBkcwjm5VUG5l7qzORlEHz/7WY8rijSlZGc6X5F9HkfUyRfGXidNB2E3bfJsclbgGkheDUo9UF9+8MnatkuWCRvlx1aa6wtf5BcFNuHtumarZKuia41HUsfXs=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id;
        b=a4QtTwbmUMFG5gs63nZ03dPBQANAys+ksQ9Vhrs3g04iBAAdDV6/K12Fxuoc4AV9QhL+4Sy4JN0E7f6LhxwadAopFKml7dW97/+iOAsZLLQIZm+Kjfi7TCuRiGnKtOzId9e//z24TFiQVAcCJm8Ie1/fSOljP5rqcPeTgCpY8ok=
Received: by 10.64.53.7 with SMTP id b7mr22716103qba.68.1205478190516;
        Fri, 14 Mar 2008 00:03:10 -0700 (PDT)
Received: from ?192.168.200.115? ( [196.211.71.34])
        by mx.google.com with ESMTPS id e16sm14376538qba.30.2008.03.14.00.03.03
        (version=SSLv3 cipher=OTHER);
        Fri, 14 Mar 2008 00:03:07 -0700 (PDT)
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT - Finding the port NFS runs on
Date: Fri, 14 Mar 2008 08:56:45 +0200
User-Agent: KMail/1.9.9
References: <1205468836.14937.28.camel@camille.espersunited.com>
In-Reply-To: <1205468836.14937.28.camel@camille.espersunited.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200803140856.46000.alan.mckinnon@gmail.com>
X-Archives-Salt: 8d46ecd8-6fed-45ce-b035-601f1aff3a0e
X-Archives-Hash: ae7cb367b6c5306867495c448fc66550

On Friday 14 March 2008, Michael Sullivan wrote:
> How can I find out what port NFS is running on so I can let it
> through my subrouter?

It tends to vary somewhat. portmapper is quite loose and fancy free with 
port numbers, you will often find 2049 in use and others around 900 or 
so. nmap is your friend here, as well as netstat and tcpdump in extreme 
cases

If this becomes a problem, most nfs tools support a -p option where you 
define which one you want.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list