-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 ?

1 Answers1

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.

user9517
  • 115,471
  • 20
  • 215
  • 297