LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 14.1 (multilib)
Posts: 1,209

Rep: Reputation: 55
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
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,439

Rep: Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851
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 14.1 (multilib)
Posts: 1,209

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


Reply


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


All times are GMT -5. The time now is 12:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration