Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-29-2012, 04:47 PM   #1
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,217

Rep: Reputation: 57
Alien's firewall script and NFS

I use a simple firewall generated using Alien's script but I would like to be able to use my PC as an NFS server.

According to help on the script

The rpc.statd program must be configured to start with the correct port. Find the startup script that starts that daemon and add the -p option. On a redhat system, that would be the /etc/init.d/nfslock program. Change the startup line to: 'daemon rpc.statd -p 9400' (or whatever port you select).


The NFS lock manager is a kernel module. If your system loads it as a loadable module, add this line to /etc/modules.conf: 'options lockd nlm_udpport=9401 nlm_tcpport=9401'. Otherwise, the change has to be made as a kernel option to the system boot loader. See the above web site for more information.


The rpc.mountd program must be configured to use the specified port with the '-p' option. On a redhat system, that can be done in the /etc/sysconfig/nfs file with the line: MOUNTD_PORT=9402


Specifying a port for rquotad requires at least version 3.08 of the quota package. In order to implement the configuration, make sure the following line is in the /etc/rpc file (exactly as given):

rquotad 100011 rquotaprog quota rquota

Then add two lines to /etc/services:

rquotad 9403/tcp
rquotad 9403/udp
This seems rather redhat centric so for Slackware what do I do?

My guess is
statd: edit /etc/rc.d/rc.rpc
lockd: add the lines to /etc/rc.d/rc.modules
mountd: edit /etc/rc.d/rc.nfsd

Has anyone figured this out?
Old 08-29-2012, 08:41 PM   #2
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,045

Rep: Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115
Try the SlackDocs page.
1 members found this post helpful.
Old 08-30-2012, 04:00 AM   #3
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,217

Original Poster
Rep: Reputation: 57
Thanks. That looks to be very helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Upgrading to Alien's latest KDE 4.7. Could this script work? disco_slack Slackware 8 08-25-2011 04:34 PM
[SOLVED] Alien's Slackware Mirror Script mlangdn Slackware 2 01-11-2011 12:52 PM
Quick question for Alien re: Easy Firewall tobyl Slackware 2 01-16-2010 06:42 PM
Downloading patches with Alien Bob's script. glore2002 Slackware 8 09-15-2009 09:33 PM
Need help tweaking rc.firewall from alien bobs site Old_Fogie Slackware 15 10-10-2006 03:44 PM

All times are GMT -5. The time now is 03:24 PM.

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