Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

How to open port for FTP in Cisco 881

Hi,

I would like to know how to open port 20/21 to our Cisco router 881, I'm a new hire and just new to Cisco router.

Here are the details

 

Local static IP address 192.168.1.161

Public IP Address 119.75.32.114

 

I need to open the port 20/21 to access the FTP server outside.

I ran a port test for port 21

Success: I can see your service on 119.75.32.114 on port (21)
Your ISP is not blocking port 21

I ran a port test for port 20

Error: I could not see your service on 119.75.32.114on port (20)
Reason: Connection refused

Now even port 21 is open I can access the FTP site

I created the FTP server using IIS 7

Please assist.

 

I tried the following but didn't work.

ip ftp username xxxxx

ip ftp password  xxxxx

no ip ftp passive

ip ftp source-interface fa4

 

ip nat inside source static tcp 192.168.1.161 20 119.75.32.114 20 extendable
ip nat inside source static tcp 192.168.1.161 21 119.75.32.114 21 extendable


ip access-list extended FTP2
 remark CCP_ACL Category=1
 permit tcp any any eq ftp
 permit tcp any any eq ftp-data
ip access-list extended FTPServer
 remark CCP_ACL Category=2
 remark FTP Server
 permit tcp any eq ftp any eq ftp established
 remark FTP Server 3
 permit tcp any eq ftp-data any eq ftp-data established
ip access-list extended SDM_WEBVPN
 remark CCP_ACL Category=1
 permit tcp any any eq 443

access-list 3 permit 192.168.1.161
access-list 102 permit tcp any eq ftp host 192.168.1.161 eq ftp
access-list 102 permit tcp any eq ftp-data host 192.168.1.161 eq ftp-data
access-list 102 permit udp any eq 21 host 192.168.1.161 eq 21
access-list 102 permit udp any eq 20 host 192.168.1.161 eq 20
access-list 114 remark CCP_ACL Category=0
access-list 114 permit ip any host 192.168.1.161

 

 

Everyone's tags (1)
1 REPLY
New Member

is 192.168.1.161 your local

is 192.168.1.161 your local FTP server?

 

please answer i can tell you how to open the ports

434
Views
0
Helpful
1
Replies
CreatePlease to create content