Got it

FTP Fails After NAT Server Is Configured

Created: Feb 28, 2021 15:24:59Latest reply: Jan 26, 2022 02:40:32 358 3 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi,

After NAT Server is configured, the port number of the intranet FTP server is mapped to 8000. Public network users cannot access the intranet server. When an external terminal accesses the FTP server, a message is displayed indicating that the connection times out.

#                                                                              

nat alg ftp enable

#                                                                             

 acl number 2000                                                               

 rule 5 permit source 192.168.0.0 0.0.0.255                                    

#                                                      

interface GigabitEthernet2/0/0                                                

  ip address 10.10.10.2 255.255.255.0                                          

  nat server protocol tcp  current-interface ftp inside 192.168.0.100 8000  

  nat server protocol udp current-interface ftp inside 192.168.0.100 8000 

  nat outbound 2000                                                             

 #  


Featured Answers

Recommended answer

Popeye_Wang
Admin Created Feb 28, 2021 15:28:06

Hello,

By default, the router monitors FTP communication ports 20 and 21. After the FTP communication port is changed, the AR cannot monitor the change. As a result, the server IP address of the data channel in subsequent data packets is still a private IP address. As a result, the client cannot route the private IP address, causing service interruption.

Therefore, if the FTP port number is changed, the new port number must be monitored in port mapping mode.

#

acl 2005

 rule permit

#

ftp  port 8000 acl 2005

#

View more
  • x
  • convention:

kunthea
kunthea Created Jan 26, 2022 02:40:26 (0) (0)
 
All Answers

Hello,

By default, the router monitors FTP communication ports 20 and 21. After the FTP communication port is changed, the AR cannot monitor the change. As a result, the server IP address of the data channel in subsequent data packets is still a private IP address. As a result, the client cannot route the private IP address, causing service interruption.

Therefore, if the FTP port number is changed, the new port number must be monitored in port mapping mode.

#

acl 2005

 rule permit

#

ftp  port 8000 acl 2005

#

View more
  • x
  • convention:

kunthea
kunthea Created Jan 26, 2022 02:40:26 (0) (0)
 
cool
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.