Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 02-06-2005, 08:17 AM   #1
LQ Newbie
Registered: Dec 2004
Posts: 10

Rep: Reputation: 0
Help with NFS, portmapper and iptables

I am running Slack 10.0 and have set everything up the way I wanted with much ease. Although when I implemented the iptables firewall, NFS gave me some problems due to portmapper using random assigned ports. I used fwbuilder on another machine to build and install the iptables script and I now need to know how get NFS to work with iptables. As it is now, TCP/UDP ports 2049 and 111 are open for NFS, they are for nfsd and sunrpc (or portmapd). I have read about assigning ports for statd, lockd, and mountd but do not know if this is the best and only way. If this is the only way o get things working, then I need to learn where and how to point them, mainly lockd (nfslockmgr in rpcinfo) to use a set port. Right now, the only way to get past this issue is to manually open each port after a 'rpcinfo -p'. Another suggestion has been made to allow all traffic from the nfs client.....I don't think so.
Old 02-06-2005, 10:35 AM   #2
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55
Have a look at It talks about pinning statd, mountd, lockd, and rquotad to ports so they don't float around.



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
Long booting time(portmapper) Beckerjr Linux - Networking 3 06-09-2005 11:50 AM
Hang on portmapper with pci card chill3570 Linux - Laptop and Netbook 0 04-28-2004 07:25 AM
NFS and IPTables? german Linux - Networking 3 11-11-2003 08:25 AM
Help w/ nfs and iptables Newbie Chris Linux - Networking 5 03-19-2003 03:29 PM
Closing portmapper gwydian Linux - Newbie 0 11-21-2001 06:35 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:09 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
Open Source Consulting | Domain Registration