cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
699
Views
0
Helpful
4
Replies

FTP not working on ASA 5505

geocomptech
Level 1
Level 1

Hello,

I have implemented a new firewall but am having problems with my FTP connection.  Would someone please review my conf and help me understand where the error lies?  FTP is a vital function for the business and I need to rectify it

I am a CCNA student and was assigned this task at work and don't want to fail!

Any and all help is appreciated, THANKS!

 

ASA Version 8.2(5)
!
hostname DPS5505
domain-name dominionxxxxxxx.com
enable password zVrf93Yy6NpluVa5 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
name 75.xxx.204.xxx Gateway
name 192.168.1.116 Printer1
name 192.168.1.119 Printer2
name 192.168.1.4 dpsServer2
!
interface Ethernet0/0
 switchport access vlan 2
!
interface Ethernet0/1
 switchport trunk allowed vlan 1,9,11
 switchport trunk native vlan 1
 switchport mode trunk
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
 shutdown
!
interface Ethernet0/7
 shutdown
!
interface Vlan1
 nameif inside
 security-level 100
 ip address 192.168.1.1 255.255.255.0
!
interface Vlan2
 nameif outside
 security-level 0
 ip address 75.xxx.204.xxx 255.255.255.xxx
!
interface Vlan9
 nameif vlan9-wifi
 security-level 100
 ip address 192.168.9.1 255.255.255.0
!
interface Vlan11
 nameif vlan11-voip
 security-level 90
 ip address 192.168.11.1 255.255.255.128
!
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
dns server-group DefaultDNS
 domain-name dominionxxxxxxx.com
same-security-traffic permit inter-interface
object-group network W2Printers
 network-object host Printer1
 network-object host Printer2
object-group service Empire tcp
 port-object range 4000 4010
object-group service DM_INLINE_TCP_1 tcp
 group-object Empire
 port-object eq ssh
 port-object eq ftp
 port-object eq ftp-data
access-list outside_access_in extended permit tcp any interface outside object-group DM_INLINE_TCP_1
access-list inside_access_in extended permit ip any any
pager lines 24
logging enable
logging asdm debugging
logging class ip asdm debugging
mtu inside 1500
mtu outside 1500
mtu vlan9-wifi 1500
mtu vlan11-voip 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
icmp permit any inside
icmp permit any outside
icmp permit any vlan9-wifi
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface ftp-data dpsServer2 ftp-data netmask 255.255.255.255
static (inside,outside) tcp interface ssh dpsServer2 ssh netmask 255.255.255.255
static (inside,outside) tcp interface ftp dpsServer2 ftp netmask 255.255.255.255
static (inside,outside) tcp interface 9103 Printer2 9100 netmask 255.255.255.255
static (inside,outside) tcp interface 9102 Printer1 9100 netmask 255.255.255.255
access-group inside_access_in in interface inside
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 Gateway 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.1.0 255.255.255.0 inside
http 0.0.0.0 0.0.0.0 outside
http authentication-certificate inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000

telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd auto_config outside
!
dhcpd address 192.168.1.5-192.168.1.254 inside
!

threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
username xxxxxxxx password YZJWAEphI4PzR/wG encrypted privilege 14
!
class-map inspection_default
 match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
 parameters
  message-length maximum client auto
  message-length maximum 512
policy-map global_policy
 class inspection_default
  inspect dns preset_dns_map
  inspect h323 h225
  inspect h323 ras
  inspect rsh
  inspect rtsp
  inspect esmtp
  inspect sqlnet
  inspect skinny  
  inspect sunrpc
  inspect xdmcp
  inspect sip  
  inspect netbios
  inspect tftp
  inspect ip-options
  inspect icmp
  inspect ftp
!
service-policy global_policy global
prompt hostname context
call-home reporting anonymous
Cryptochecksum:62ec3e7499e619dff002d28d6a59b020
: end

4 Replies 4

chinmoy.boruah1
Level 1
Level 1

Dear Geo,

Try changing the FTP mode from passive to active.

With Regards

Chinmoy

I did that and ended up creating an acl of 100 and adding the rules to it, FTP is working now.

johnlloyd_13
Level 9
Level 9

hi,

could you add VLAN 2 on your e0/1 trunk?

interface Ethernet0/1
 switchport trunk allowed vlan 1,2,9,11

thanks, could you expand on how this helps traffic flow?

 

I ended up creating an acl of 100 and adding the rules to it, FTP is working now.

Review Cisco Networking for a $25 gift card