LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 02-06-2005, 08:17 AM   #1
tinman77
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
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 52
Have a look at http://www.tldp.org/HOWTO/NFS-HOWTO/...html#FIREWALLS. It talks about pinning statd, mountd, lockd, and rquotad to ports so they don't float around.

Lyle
 
  


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


All times are GMT -5. The time now is 12:49 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