Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

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.

3 Answers

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
add comment

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

share|improve this answer
add comment

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
add comment

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