cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1390
Views
0
Helpful
1
Replies

How to open port for FTP in Cisco 881

ernesto06
Level 1
Level 1

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

 

 

1 Reply 1

zeuscyril
Level 4
Level 4

is 192.168.1.161 your local FTP server?

 

please answer i can tell you how to open the ports

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card