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 ) id 1Ja6CH-0005S4-CZ for garchives@archives.gentoo.org; Fri, 14 Mar 2008 09:27:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C990FE053E; Fri, 14 Mar 2008 09:27:27 +0000 (UTC) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by pigeon.gentoo.org (Postfix) with ESMTP id 89F7FE053E for ; Fri, 14 Mar 2008 09:27:27 +0000 (UTC) Received: from [192.168.1.2] (krikos.xs4all.nl [80.127.21.75]) (authenticated bits=0) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id m2E9RQeh024923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 14 Mar 2008 10:27:26 +0100 (CET) (envelope-from Dave.Jones@xs4all.nl) Message-ID: <47DA44FE.2010002@xs4all.nl> Date: Fri, 14 Mar 2008 10:27:26 +0100 From: Dave Jones Organization: Krikos User-Agent: Thunderbird 2.0.0.12 (X11/20080306) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT - Finding the port NFS runs on References: <1205468836.14937.28.camel@camille.espersunited.com> <200803140938.16166.shrdlu@unlimitedmail.org> In-Reply-To: <200803140938.16166.shrdlu@unlimitedmail.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner X-Archives-Salt: b9b0c4ec-feda-4d77-a5aa-8443a74eef05 X-Archives-Hash: 63ab416d604bcdb40345cb063d452c0e Etaoin Shrdlu wrote on 14/03/08 09:38: > 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? > rpcinfo -p should tell you. Note that you might need to open > other ports in addition to those used by nfs itself. In particular, the > statd, lockd and mountd daemons usually use random ports, and I don't > know whether and how they can be instructed to use fixed port numbers in > Gentoo. Refer to this document for more information: > http://www.lowth.com/LinWiz/nfs_help.html Modify /etc/conf.d/nfs to setup the ports you want to use: OPTS_RPC_MOUNTD="-p nnnnn" OPTS_RPC_STATD="-p mmmmm -o pppppp" Modify /etc/sysctl.conf to set up the lockd port: fs.nfs.nlm_udpport = xxxxxx fs.nfs.nlm_tcpport = xxxxxx NFS uses port 2049 as standard, portmap uses port 111 Cheers, Dave -- gentoo-user@lists.gentoo.org mailing list