Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Possible Duplicate:
What is port forwarding and what is it used for?

So I want to allow my machine behind NAT to be accessible via FTP. However, as it is behind NAT, it is not possible to connect to its FTP service from outside.

Does port forwarding in the NAT router (or gateway) allow access?

share|improve this question

marked as duplicate by Nifle, Gnoupi, Indrek, Diogo, Sathya Aug 29 '12 at 14:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Yes, portforwarding should work, provided your router firewall is FTP aware, as there is a second connection established on a random port with ftp, which needs to be opened and forwarded automatically by the router.

A better approach would be to use a protocol that does not require this, and has the benefit of being more secure: SFTP/SCP. This does file transfers over ssh.

share|improve this answer

Yes. In your router you need to forward a port on your external IP to the internal IP of your FTP server.

share|improve this answer

The router that is performing NAT operations should port forward it your server. then it should work.

share|improve this answer

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