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 |
Allow tcp and udp packets thru port 2049 to your NFS server thru the firewall..
|
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 |
All times are GMT -5. The time now is 06:13 PM. |