ftp on alternate port

Unanswered Question
Dec 30th, 2009

I can't get through the firewall on port 5052. I'm using firezilla and it says that it does not recognize an unroutable address. it works over the vpn so it's something to do with the asa.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jerry Ye Wed, 12/30/2009 - 15:20

Do you have firewall rules opened for this port?



Jerry Ye Wed, 12/30/2009 - 18:16

Assuming static means static NAT. With limited information, I can only suggest two things.

1) Make sure all routing is correct when access through the firewall. Verify it with ping and traceroute

2) Remove FTP inspection (fixup) and re-test



dlove Wed, 12/30/2009 - 18:32

This is all I have right now. I tried removing inspect with no luck.

access-list incoming extended permit tcp any host eq 5052
static (inside,outside) tcp 5052 5052 netmask

Jerry Ye Wed, 12/30/2009 - 20:02

Have you check your routing? (Not VPN)

You can also try to put a deny ip any any log at the end of the incoming ACL and send all the log to a syslog server to inspect what else is being blocked.



vilaxmi Fri, 01/01/2010 - 13:01


If you wish to pass FTP traffic through your Firewall on NON STANDARD ports, then in order to make it work, please add the following MPF (modular Policy Framework) :-

Lets assume you have FTP server ( on outside of your ASA , and you have clients in inside which needs to access the server. First of all, remove inspect ftp from global_policy and the proceed as follows for non std FTP inspection.

access-list FTP extended permit tcp any host range 20 21

access-list FTP extended permit tcp  host any range 20 21

class-map class_ftp

match access-list FTP


Policy-map global_policy

class class_ftp

inspect ftp


service-policy global_policy global




This Discussion