DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-02-22 05:17:32

dilettanti
Member
Registered: 2008-11-30
Posts: 9

NFS, hosts, and port forwarding [FW 1.08, ffp 0.5]

I am hoping to set up NFS so that my remotely hosted VPS can access the files on my DNS-323 at home. Ideally, I would be able to run Ampache on the VPS, but store the actual files on my DNS-323 at home. I realize that may be a bit slow, but (1) the DNS-323 is the only "always on" machine I have at home, and (2) I don't have enough storage on my VPS to store all my music (and don't want to pay the exorbitant fees to upgrade to that much storage). I'm having a bit of difficulty, though, and I *think* it may stem from the fact that I don't know what ports NFS uses beyond 111 and 2049.

I just upgraded to firmware 1.08 in hopes that the NFS package there would work, but it appears to be a user-space implementation, with very little in the way of customization opportunities, so I have disabled that package. Instead, I am running fonz' fun_plug 0.5, and have started the user-space NFS it includes (/ffp/start/unfsd.sh start). I customized the exports to include the IP of my VPS server:

Code:

/mnt/HD_a2/music xxx.xxx.xxx.xxx(ro,subtree_check)

I have also forwarded ports 111 and 2049 (both TCP and UDP) to the DNS-323.

On the VPS (running Ubuntu 8.04 LTS), I have installed the nfs-common packages, created a mount point (/media/dns323 - I essentially just followed the instructions from this thread). I added the following line to my /etc/fstab:

Code:

mydomain.dyndns.org:/mnt/HD_a2/music /media/dns323 nfs ro,auto 0 0

After trying to mount the NFS export ('sudo mount -a'), I get the following error:

Code:

mount.nfs: mount to NFS server 'mydomain.dyndns.com' failed: RPC Error: Program not registered

I get a different error when the NFS daemons aren't running on the DNS-323, so it's not a problem with the DDNS configuration. Anyone have any ideas on how to make this work?

I've read that except for the NFS daemon itself and the portmapper (which use ports 2049 and 111, respectively), the other NFS-related daemons run on random ports. Could this be causing my problems? If so, is there a good work-around?

Alternatively, I have read that in some instances, I would need to authorize the client IP in the server's /etc/hosts.allow file, but there is no such file on the DNS-323, and I'm not sure it would be read if I created one. Is there a similar way to authorize hosts on the DNS-323?

ANY help would be appreciated - including other ways to stream my music collection from my DNS-323 at home to my work computer and preferably to my Droid (on Verizon, in the US). Thanks in advance!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB