PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 01:31:42 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: (SOLVED) What ports does NFS file sharing use?  (Read 2120 times)
Bullitt
Full Member
***
Offline Offline

Posts: 127


No scoop, no stripes, no spoiler, OH MY!


« on: September 25, 2010, 10:46:28 AM »

It seems that the firewall  interferes with NFS file sharing, how do I find what port(s) NFS is using so that I can restart my firewall.  When the firewall is up I have the NFS file share check, along with cups, and samba, however, this blocks file-sharing.

Thanks, Bullitt
Logged
muungwana
Hero Member
*****
Offline Offline

Posts: 5403


« Reply #1 on: September 25, 2010, 11:51:55 AM »

open up the terminal and type "rpcinfo -p", what do you get? run the command as root if you get a permission denied error when run as normal user.

google says nfs uses port number 111 and 2049. Google also says ports you should also have ports 4000-4002 open for other nfs services. Those 4**** ports are autoselected but you can fix them if they are autoselected to different values in "/etc/sysconfig/nfs-common" text file

so ports to open are 111, 2049, 4000, 4001 and 4002
Logged

.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..
Bullitt
Full Member
***
Offline Offline

Posts: 127


No scoop, no stripes, no spoiler, OH MY!


« Reply #2 on: September 25, 2010, 12:59:24 PM »

open up the terminal and type "rpcinfo -p", what do you get? run the command as root if you get a permission denied error when run as normal user.

google says nfs uses port number 111 and 2049. Google also says ports you should also have ports 4000-4002 open for other nfs services. Those 4**** ports are autoselected but you can fix them if they are autoselected to different values in "/etc/sysconfig/nfs-common" text file

so ports to open are 111, 2049, 4000, 4001 and 4002

After looking over what you wrote and checking out the different config files I added the SSH server to the ports I already had open.  The firewall ports that are open now include: SSH server, NFS server, CUPS server, and Network services auto discovery.  This appears to have opened the needed ports and NFS file sharing is working great.

Thanks for the information and help.

Bullitt
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM