Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to serve files mounted from a remote file store using ftp/sftp using fuse on my web server without using the web server's bandwidth.

The goal is to have the web server transparently serve the files to the user without providing them the original ftp information, so won't do.

Is it possible for nginx (or apache if I must) "bounce" the data to the user without using the server's bandwidth?

Any thoughts or suggestions are appreciated.


share|improve this question

No it is not possible. If you want the client to retrieve it directly they must have a direct link. If you want to hide source then your web server will basically have to act like a proxy.

share|improve this answer

Zoredache is correct, however you can obfuscate the ftp servers a bit... and hope nobody looks too closely at the link. There's no way to really hide the connection made to another server. At best, you can setup DNS entries to the IP of the device... and provide links like "ftp://user:password@dnsname.yourwebdomain.tld".

I honestly can't think of any reasons to try & hide a connection to a remote server, as hackers will eventually find it regardless of weather or not you post links to it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.