LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   mount.nfs: access denied by server while mounting (https://www.linuxquestions.org/questions/linux-networking-3/mount-nfs-access-denied-by-server-while-mounting-806665/)

DD554 05-08-2010 11:55 AM

mount.nfs: access denied by server while mounting
 
Hi all. i set up a nfs server that is working locally only, on remote i get this :
root@poc ~]# mount -t nfs storage:/var/ftp/pub /net
mount.nfs: access denied by server while mounting storage:/var/ftp/pub
this is my exports file :
/var/ftp/pub/downloads 192.168.1.23(rw,sync)
/var/ftp/pub 192.168.1.23(ro,sync)
this is my rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100011 1 udp 875 rquotad
100011 2 udp 875 rquotad
100011 1 tcp 875 rquotad
100011 2 tcp 875 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100021 1 udp 34910 nlockmgr
100021 3 udp 34910 nlockmgr
100021 4 udp 34910 nlockmgr
100021 1 tcp 55328 nlockmgr
100021 3 tcp 55328 nlockmgr
100021 4 tcp 55328 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 34684 mountd
100005 1 tcp 39595 mountd
100005 2 udp 34684 mountd
100005 2 tcp 39595 mountd
100005 3 udp 34684 mountd
100005 3 tcp 39595 mountd
100024 1 udp 34347 status
100024 1 tcp 52310 status

Firewall has 2049 open ONLY. other services suck as nfs or status, lockd have random ports, so firewalled.
Any idea?

AlucardZero 05-08-2010 12:22 PM

Change the other services to static ports and open them on the firewall.


All times are GMT -5. The time now is 09:22 PM.