Re: Iptables and NFS server

From: Allen Kistler (ackistler_at_oohay.moc)
Date: 12/20/03


Date: Sat, 20 Dec 2003 17:58:57 GMT

Vincent Aaron wrote:
> Hi all
> Have you ever experimente NFS server on a linux box and firewall tools.
> It seems that NFS services cannot work correctly when Iptables is running.
> In reality, when I try to mount an NFS share directory from my NFS client on
> a linux box, and Iptables is running on my linux NFS servers, I've got a
> "permission denied".
> Do you know how to bypass that error?
> Do you know how to confugure Iptables to allow NFS request

Generally it's more of an issue to configure nfs to work with netfilter
than the other way around. nfs likes to pick different ports every time
it runs.

About a minutes worth of Yahoo! gets me
  http://www.ba.infn.it/calcolo/documenti/NFSServer.html#Firewall

There are others if you look.



Relevant Pages

  • Re: Opinions on new Fedora Core 2 install with LVM 2 and snapshots?
    ... 95% of the Linux and Solaris client mount. ... The Linux server is where 5% of the UNIX client traffic goes, so NFS ... I just want snapshots, that's it. ... I also adopted XFS early on, ...
    (Fedora)
  • Re: 6.1 and NFS
    ... This is becoming a show stopper for us moving forward with FreeBSD and may require us moving to a different OS (Linux or Solaris, ... Well, Solaris has the best NFS implementation out there and includes a number of subtle workarounds in their server code to reduce the number of and/or impact of problems seen doing heterogeneous networking against clients running other operating systems, but frankly, rpc.lockd isn't significantly more stable there on Solaris than on FreeBSD. ... In other words, if you plan to use NFS filesharing, you should make every effort to utilize software which functions with the classic ".lock"file mechanism rather than depending on lockf/flock/fcntl -based locking working. ... If a process wants the lock, ...
    (freebsd-questions)
  • SUMMARY: Tru64 NFS server problems with recent Linux NFS clients
    ... The NFS problems originate from turning on the "iptables" ... Turn off the iptables firewall service on the Linux client. ... Too often the NFS client hangs waiting in NFS I/O on the users' ...
    (Tru64-UNIX-Managers)
  • Re: file-copy corruption
    ... I too am heavily into NFS, ... I guess the cause could lie anywhere between the source disk, the source disk controller, ... On any recent Linux, it would be very rare for there to be "no ... diff had an option to not follow symlinks..). ...
    (Fedora)
  • Re: [PATCH 2.6.18-rc1] Make group sorting optional in the 2.6.x kernels
    ... in an operation on NFS on the client system, ... When there is no group id information passed downwards ... For someone of my level of knowledge of the kernel the README does not ... At the moment Linux is the only OS ...
    (Linux-Kernel)

Quantcast