Solved

allow passive FTP through ASA5510

Posted on 2013-01-23
3
1,379 Views
Last Modified: 2013-01-23
Hey guys,

Ok so I've seen there are a few posts regarding this and as I'm going through checking my configs, I can't seem to get this to work.   The issue is most certainly that I'm not allowing passive ports through the firewall.  My FTP client works fine internally, but externally It connects and authenticates to the server no problem, but when running List command I get failed to retrieve directory listing.  

- How can I check if passive FTP is checked in inspect?  I am using port 2121 for FTP due to Port 21 already being used with this external Address and forwarded to another PC.
- Also I have enabled passive ports 60000 - 65535 but Im obviously missing something.  
- the FTP host is in my DMZ so maybe thats part of the problem I'm not setting up my ACL correctly?

What do you need from me to help?
0
Comment
Question by:regmandy
  • 3
3 Comments
 

Author Comment

by:regmandy
Comment Utility
Show class-map
class-map global-class
class-map class_ftp
class-map ftp-class
 match port tcp eq 2121
class-map inspection_default
 match default-inspection-traffic
class-map global-class1
 match access-list global_mpc
0
 

Author Comment

by:regmandy
Comment Utility
side note, when I have MasqueradeAddress turned on, internal or external won't work.. when masqueradeAddress is off, internal works, external doens't.  this is what maps the server to the public IP.. so the issue has to be with my firewall rules not accepting the passive ports.  I set the passive ports on the server to use 60000 - 60001.
0
 

Accepted Solution

by:
regmandy earned 0 total points
Comment Utility
ok I resolved it myself.  the issue was most certainly the rules.  by setting the port to a minimum 60000-60001 I just sent the proper port in the NAt Rules for the correct interface and it seems to be working outside.  It's not working inside, but I can mess with that in the morning..  possibly an issue with mapping the internal IP from the LAN to use the external IP in the passive mode..

tks all
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now