Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

ACL configuration

Hi all,

I want to set ACL for both FTP servers so that both can act as FTP servers, can I set below ACL to acheive it ?

Below is the network topology

FTP server A (>RouterA ---Wan link ----Router B ----FTP server B (

Router A ACL

permit tcp host host range 20 21

ip access-group LAN in

Router B ACL

permit tcp host host range 20 21

ip access-group LAN in

New Member

ACL configuration

I don't know do I need to set reply ACL


ACL configuration


First of all if possible do not use FTP, it is unsafe and a stupid protocol anyway you look at it.

Go with something like SFTP instead, that will make your life less vulnerable and configuration much easier.

Why not ftp ?

well first of all anyone on the way out can sniff your username and password since it is in cleartext. FTP is directly firewall hostile. and you do not know your data will be sent from A to B without information changing.

If possible do not use the standard SFTP port.

FTP needs to be looked at from the firewalls and routers with access-lists point of view, It needs some form of deep packet inspection or ALG to know what to open and how.

So do yourself a favour and use something different than FTP.

If nothing else it will make your configuration much easier. (no FTPS is not the answer)

If you need a reply ACL or not is entierly up to how you have setup your routers before.

Good luck


Re: ACL configuration

You need to look up the difference between active and passive FTP. That will make understanding your acl needs much clearer.

Sent from Cisco Technical Support iPad App

New Member

ACL configuration

This is fine, but you also need the

no ip ftp passive

global configuration command on the client router. Overall I agree with the other suggestions that FTP is not the best protocol to use, something like SCP, SFTP, or enabling IPSec for the particular FTP traffic would be preferable.

CreatePlease to create content