LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-06-2005, 11:09 AM   #1
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Rep: Reputation: 16
Export NFS behind firewall


Hi,

I'm trying to setup a scenario where I export directories from a Linux box running Redhat Enterprise WS version 4 to another Linux box of the same type. I believe I have the export and import setup correctly, because when I turn the firewall off on the server I can mount and unmount my NFS mounts without any problems. However, if I turn my server's firewall on, I can't mount from my client. So, what I'm trying to find out is how to setup the firewall on my server so that it is still running, but allows for NFS mounts. Does anyone know how to do this? Thanks very much.


-NifflerX
 
Old 07-06-2005, 02:23 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Allow tcp and udp packets thru port 2049 to your NFS server thru the firewall..
 
Old 07-06-2005, 02:41 PM   #3
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Original Poster
Rep: Reputation: 16
Hi,

Thank you for the reply. I tried changing the firewall settings using /usr/bin/system-config-securitylevel. When I opened that up, as root, I made the following changes to the 'Other ports:' box at the bottom:

2049:tcp, 2049:udp

Then I clicked okay and tried to mount my directories, but still couldn't do it. Then just to double check I disabled my firewall, and was able to mount my directories just fine. Once I turned the firewall back on, I couldn't mount. Am I opening up port 2049 incorrectly? Is there a better way to do it? Thanks very much.

-NifflerX
 
  


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
Export directories via NFS nifflerX Linux - Networking 3 07-07-2005 01:21 AM
smb mount -> nfs export wie20345 Linux - Networking 3 02-12-2005 02:09 PM
NFS doesn't export everything ejoftheweb Linux - Networking 5 09-03-2004 03:29 AM
export directories via NFS on redhat 8.0 nifflerX Linux - Networking 1 01-16-2004 02:09 AM
local access of NFS export joeljensen Linux - Networking 1 04-29-2003 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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