I just set up remote access to my QNAP via an SFTP client on my Nexus One phone. Thought it might be of interest to other people, so here's how:
ROUTER CONFIG
* Set up a dynamic hostname for my home router, using the DynDNS service (most routers support this or similar services). I suppose you could also use the built in DDNS function in the QNAP directly, but since I only want to expose the SSH service (and nothing else), I prefer to pass incoming traffic through the router/firewall where it is more easily filtered/controlled.
* I set up port forwarding on the router. I used a random high port number (to reduce the amount of port scans and brute force attacks) to forward through to the SSH port on my QNAP, inside the LAN.
* Of course, you must have a strong random SSH password on your QNAP otherwise you are committing suicide.
ANDROID PHONE CONFIG
* Install the excellent Astro File Manager app from the Android store. Also install the separate Samba and Bluetooth modules, as these greatly improve the networking capability of your phone.
* In Astro, go to the 'network' icon and add a new connection. Choose SFTP (FTP over SSH).
* Add your router's hostname in the server box, the port number you are using to forward SSH traffic, your user name and your password and the default directory you want to use, eg /share.
* Click test to try it out, if successful, click save to record the connection.
That's it. Now you can access your QNAP files from anywhere over a secure connection. Works best over WIFI, you may get timeouts if your EDGE connection is a bit slow, or if your QNAPs disks need to be spun up. The only downer - unfortunately Astro does not support key-based authentication at this time. But if you use a strong (random) password it shouldn't matter. Please do not try this with some pitifully weak password because you will certainly get your fingers burned if you do.
NOTEBOOK/DESKTOP CONFIG
By the way, you can also use this setup to access your QNAP remotely over SFTP from a notebook or desktop. Just use an FTP client that supports SFTP connections (eg Filezilla). Kind of a poor man's VPN.
News