FTP over TLS not working

Unanswered Question
Jun 1st, 2012

hi all,

i configured port redirection on ASA to allow external user access to Internal FTPS Server.  but it's not working

i use Filezilla client to access but i have this error.

Statut :    Connexion à x.x.x.x:21...

Statut :    Connexion établie, attente du message d'accueil...

Réponse :    220-Microsoft FTP Service

Réponse :    220 FTP-Server FTP

Commande :    AUTH TLS

Réponse :    234 AUTH command ok. Expecting TLS Negotiation.

Statut :    Initialisation de TLS...

Erreur :    Délai d'attente expiré

Erreur :    Impossible d'établir une connexion au serveur

please can somebody know what can cause this issue ?

thanks for your help

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)
Julio Carvaja Fri, 06/01/2012 - 08:49

Hello,

Is this FTPS server working on active mode?

Can you share the nat configuration for the server?

Regards,

Julio

piatthi1983 Fri, 06/01/2012 - 08:55

ASA is configured in Passive Mode.

this is NAT configuration

static (DMZ1,outside) tcp  interface  20  'ftps-server-private IP'  20

static (DMZ1,outside) tcp  interface  21  'ftps-server-private IP'  21

access-list outside_access_in  extended permit tcp any host 'Outside_public_IP' eq 20

access-list outside_access_in  extended permit tcp any host 'Outside_public_IP' eq 21

Julio Carvaja Fri, 06/01/2012 - 09:32

Hello,

Here is a document that you will need to read

https://supportforums.cisco.com/docs/DOC-23206

As you can see you will be using   FTPS (FTP over SSL) that uses port 990 for the control channel (this information is encrypted) and the data channel goes on plain text.

Is there a way you can use a static one to one and then allow port 990 on the outside ACL?

Regards,

hobbe Fri, 06/01/2012 - 12:02

Hi

FTPS is not supported in the ASA.

Due to the problem of traffic beeing encrypted.

However you can in some FTPS servers setup that you are only able to use some few ports.

Then you can open for all those ports that you have choosen.

If you want a better alternative than FTPS use SFTP.

FTPS is firewall unfriendly

SFTP is firewall friendly

SFTP will work correctly all the time.

Good luck

HTH

Actions

Login or Register to take actions

This Discussion

Posted June 1, 2012 at 6:59 AM
Stats:
Replies:4 Avg. Rating:
Views:1186 Votes:0
Shares:0
Tags: ftp, over, working, tls
+

Related Content

Discussions Leaderboard

Rank Username Points
1 7,861
2 6,140
3 3,170
4 1,473
5 1,446