-2

I am using pure-ftpd on ubuntu instance.

I can connect to ftp from that instance as ftp localhost but not from outside

I can access apache2 server from anywhere by External-IP.

  • which firewall / routing rules I need to create more ?

closed as off-topic by Ward, womble Oct 9 '15 at 3:42

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

2
  • Ensure that you have configured pure-ftpd to listen on the relevant interface.
  • Ensure that you have ports 20 and 21 open on your external interface.

You may need to configure some ephemeral ports (use the -p switch ) and don't forget to ensure that those ports are open in the relevant firewall too.

  • Third point: chances are you shouldn't be using FTP anyways. – ceejayoz Sep 30 '15 at 18:44
  • @ceejayoz Good point well made. – Iain Sep 30 '15 at 20:05

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