hi,

Ich fürchte allerdings auch, dass hier nicht mehr viele mitlesen. Der
Thread ist zu lang und unübersichtlich geworden.

indeed. :-)
ich hab zwar nicht ansatzweise mitgelesen, und weiß auch nicht, ob es um eine version 4.0 oder 4.1 oder höher geht, aber habt ihr das hier bereits gemacht?

NFS requires rpcbind, which dynamically assigns ports for RPC services and can cause problems for configuring firewall rules. To allow clients to access NFS shares behind a firewall, edit the /etc/sysconfig/nfs configuration file to control which ports the required RPC services run on. The /etc/sysconfig/nfs may not exist by default on all systems. If it does not exist, create it and add the following variables, replacing port with an unused port number (alternatively, if the file exists, un-comment and change the default entries as required):

MOUNTD_PORT=port
    Controls which TCP and UDP port mountd (rpc.mountd) uses.
STATD_PORT=port
    Controls which TCP and UDP port status (rpc.statd) uses.
LOCKD_TCPPORT=port
    Controls which TCP port nlockmgr (lockd) uses.
LOCKD_UDPPORT=port
    Controls which UDP port nlockmgr (lockd) uses.

If NFS fails to start, check /var/log/messages. Normally, NFS will fail to start if you specify a port number that is already in use. After editing /etc/sysconfig/nfs, restart the NFS service using service nfs restart. Run the rpcinfo -p command to confirm the changes.
To configure a firewall to allow NFS, perform the following steps:
⁠

Procedure 9.1. Configure a firewall to allow NFS

    Allow TCP and UDP port 2049 for NFS.
    Allow TCP and UDP port 111 (rpcbind/sunrpc).
    Allow the TCP and UDP port specified with MOUNTD_PORT="port"
    Allow the TCP and UDP port specified with STATD_PORT="port"
    Allow the TCP port specified with LOCKD_TCPPORT="port"
    Allow the UDP port specified with LOCKD_UDPPORT="port"

Note
To allow NFSv4.0 callbacks to pass through firewalls set /proc/sys/fs/nfs/nfs_callback_tcpport and allow the server to connect to that port on the client. This process is not needed for NFSv4.1 or higher, and the other ports for mountd, statd, and lockd are not required in a pure NFSv4 environment.

die dateinamen und pfade beziehen sich zwar auf ein redhat system, aber die dateien sollten sich ja auch auf eurem system finden lassen...

jonny

ps: ich leide momentan an chronischen zeitmangel, kann also außer dieser zwishenbemerkung wohl wenig zur problemlösung beitragen...

_______________________________________________
linuxmuster-user mailing list
linuxmuster-user@lists.linuxmuster.net
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user

Antwort per Email an