Lately I have been having troubles with connecting to my NFS shares. None of them, I have 7 total with 2 being connected to almost constantly and 5 being for specific IP’s only, were working after I shut down the service and restarted it so that I could use the external drive that 2 of the shares are on somewhere else. This boggled my mind for awhile as I thought it was a problem with my client, the sm-notify service took forever and a bit to start up.
But then I checked my server logs and discovered the following in /var/firewall:
Sep 21 12:57:26 skuld-serv kernel: SFW2-INext-ACC-RPC IN=eth0 OUT= MAC=00:08:0d:3e:6c:cf:00:e0:98:a1:7b:14:08:00 SRC=192.168.0.106 DST=192.168.0.20 LEN=116 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44487 DPT=111 LEN=96
Sep 21 12:57:26 skuld-serv kernel: SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:08:0d:3e:6c:cf:00:e0:98:a1:7b:14:08:00 SRC=192.168.0.106 DST=192.168.0.20 LEN=68 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=914 DPT=6360 LEN=48
This is from one client trying to connect to the server. The last line notes destination port 6360 as being blocked. Needless to say the client could not mount the share.
At this point I went into yast and opened UDP port 6360. After closing yast I tested the mount again and this time had success.
A look at the successful output from /var/firewall:
Sep 21 13:03:12 skuld-serv kernel: SFW2-INext-ACC-RPC IN=eth0 OUT= MAC=00:08:0d:3e:6c:cf:00:e0:98:a1:7b:14:08:00 SRC=192.168.0.106 DST=192.168.0.20 LEN=116 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=39185 DPT=111 LEN=96
Sep 21 13:03:12 skuld-serv kernel: SFW2-INext-ACC-RPC IN=eth0 OUT= MAC=00:08:0d:3e:6c:cf:00:e0:98:a1:7b:14:08:00 SRC=192.168.0.106 DST=192.168.0.20 LEN=68 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=737 DPT=6360 LEN=48
I then closed UD port 6360 again to verify that this was the problem. After doing so I tried to mount a share again and had no problem. This seems to suggest that the port is only needed every once in a while.
Does anyone have an idea as to why this might be and why the NFS Server configuration in yast does not open this port when it seems that it is needed?:?