LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-02-2015, 09:57 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
Setting up NFS firewall exceptions


Hello --

I am attempting to set up an NFS mounts through a firewall. The system in question is running the nfsd daemon, and my first task is to configure the appropriate ports which can then be subject to a firewall exception. The firewall currently has port 2049 open, but I know I need to have several other ports open as well. To that end, I have run the rpcinfo -p command, and outputted the results to a file which has been included with this posting.

The /etc/sysconfig/nfs file does not exist on the system in question, so I am creating it from scratch. This other file is also included in this posting. So far I have been able to identify the mountd ports, but I have not been able to to the same for the statd and lockd ports.

How can I identify the ports in question, so they can be included in the file? Also, is there anything else I need to configure on the system?

Thanks.
Attached Files
File Type: txt rpcinfo_02apr15.txt (1.4 KB, 10 views)
File Type: txt nfs.txt (283 Bytes, 15 views)
 
Old 04-02-2015, 01:47 PM   #2
kmhuntly
Member
 
Registered: Mar 2015
Location: Cheektowaga, NY
Distribution: ArchLinux
Posts: 34

Rep: Reputation: 7
The rpc and nfs configuration all lives in/etc. Should be able to find it there - and its all user-configurable. I used to have an iptables script for it but I can't find it now =(
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IP Addresses and URLs to add in SquidGuard exceptions/firewall pj_draemo Linux - Newbie 1 05-25-2012 12:17 AM
How to practice setting up of NFS server and NFS client on a laptop? Nue-b Linux - Newbie 3 07-18-2011 06:38 PM
Use NFS through a firewall tlemons Linux - Security 3 12-10-2010 05:04 PM
firewall exceptions Murdock1979 Linux - Networking 3 05-05-2006 07:42 AM
Setting proxy exceptions in Gnome 2.4 Wapo Linux - Networking 0 03-31-2004 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration