05-30-2018 01:38 AM - edited 02-21-2020 07:49 AM
Hi,
I have an issue with FTP/SSL though my ASA 5515-X.
When connecting using Filezilla to a test server I always got this :
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (195,144,107,198,4,7).
Command: LIST
Response: 150 Opening BINARY mode data connection.
Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
On my ASA I can not see any ACL filtring and ports 21,990 are authorized. I think it's an issue with FTP over SSL in passive mode.
Any help please ?
Solved! Go to Solution.
05-31-2018 01:00 AM
Thank you for your help.
I found finally the problem , Passive FTP bounce to use a new random port , so I had to open all dynamic ports toward the SFTP server and now every thing work fine :)
05-30-2018 03:49 AM
05-30-2018 05:05 AM - edited 05-30-2018 05:15 AM
Hi Florin,
Thank you for your reply .
Here is my answers :
- based on the error output why do you think the issue lays pn ASA?
==> because without ASA , evrything work fine
- do you have inspect FTP? Post your policy-map config
Yes I inspect FTP
ASA# show running-config policy-map
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map Inside-policy
description QOS-INSIDE
class Inside-class
police input 60000000 30000
police output 60000000 30000
class Inside-class1
police input 30000000 15000
police output 30000000 15000
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
inspect icmp
inspect ftp
class class-default
user-statistics accounting
policy-map Outside-policy
description QOS-OUTSIDE
class Outside-class
police input 60000000 30000
police output 60000000 30000
class Outside-class1
police input 30000000 15000
police output 30000000 15000
!
ASA#
- do you have Firepower policies applied also? Entire service policy config can shed some light.
No Firepower configuration is used.
I already tried to disable FTP inspection but the same probllem still there.
05-31-2018 12:02 AM
05-31-2018 01:00 AM
Thank you for your help.
I found finally the problem , Passive FTP bounce to use a new random port , so I had to open all dynamic ports toward the SFTP server and now every thing work fine :)
05-31-2018 02:49 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide