LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-29-2012, 03:47 PM   #1
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
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
Quote:
statd

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).

lockd

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.

mountd

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

rquotad

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, 07:41 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
Try the SlackDocs page.
http://docs.slackware.com/howtos:home_nfs_howto
 
1 members found this post helpful.
Old 08-30-2012, 03:00 AM   #3
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

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


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

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

All times are GMT -5. The time now is 04:53 PM.

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