hi, i am trying to nfs outside of my house.
i have a netgear wgr614v8 router. in the port forwarding section i map port 2049 to my linux machine.
here is the pertinent info about the server:
Code:
[schneidz@hyper schneidz]$ cat /etc/exports
/home/schneidz 192.168.5.100(rw,insecure,sync,all_squash,anonuid=500,anongid=500)
/media *(rw,insecure,sync)
/mnt/dos *(rw,insecure,sync)
/tmp (ro,insecure,all_squash)
[schneidz@hyper schneidz]$ cat /etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
ALL: ALL
[schneidz@hyper schneidz]$ cat /etc/hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!
i'm able to mount it ok from within the network but i cant mount my hard drive thru the router when i am away from home.
the successful mounts look like this in /var/log/messages:
Code:
Apr 28 13:31:46 pcp04663196pcs rpc.mountd: authenticated mount request from 192.168.5.3:740 for /media (/media)
Apr 28 13:31:59 pcp04663196pcs rpc.mountd: authenticated unmount request from 192.168.5.3:742 for /media (/media)
Apr 28 13:32:12 pcp04663196pcs rpc.mountd: authenticated mount request from 192.168.5.3:744 for /media (/media)
Apr 28 13:32:21 pcp04663196pcs rpc.mountd: authenticated unmount request from 192.168.5.3:746 for /media (/media)
the portmapper is giving a random port. there is no message for the unsuccessful attempts but it hangs for about 1 minute and then i keep getting this error:
Code:
mount: RPC: Remote system error - Connection refused
i tried forcing the port by stopping
nfsd and running
rpc.mountd -p 2049 but that didnt work.
is this possible ?