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?


3 Answers 3


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.


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


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

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