Got it

FTP in passive mode cannot connect to the internal server through the NAT server

Created: Sep 29, 2020 14:03:16Latest reply: Sep 29, 2020 14:03:38 305 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello everyone,


The topology is as follows:

Server——USG——ISP——PC1


IP deployment:

Server192.168.1.2

USG(trust)192.168.1.1

USG(untrust): 10.1.1.1

PC 1 is a dial-up user.


NAT configurations on the USG are as follows:

nat server protocol tcp global 10.1.1.1 ftp inside 192.168.1.1 ftp

acl 2000

rule permit

firewall interzone trust untrust

nat outbound 2000 interface e0/0/0


The firewall can access the server in active mode, but cannot access the server in passive mode.

Please tell me why. And how to solve this problem.

Thank you!


Featured Answers
DDSN
Admin Created Sep 29, 2020 14:03:38

Hi Qazik,

  • In active mode, port 20 of the server is connected to the client.

  • In passive mode, the server uses a port greater than 1024 to proactively connect to the client.

The FTP translation is configured, but the NAT server translation with a value greater than 1024 is not configured. As a result, the server cannot be connected in passive mode.


To solve this problem, configure global mapping.

nat server global 10.1.1.2 inside 192.168.1.2


I hope it helps!


View more
  • x
  • convention:

All Answers
DDSN
DDSN Admin Created Sep 29, 2020 14:03:38

Hi Qazik,

  • In active mode, port 20 of the server is connected to the client.

  • In passive mode, the server uses a port greater than 1024 to proactively connect to the client.

The FTP translation is configured, but the NAT server translation with a value greater than 1024 is not configured. As a result, the server cannot be connected in passive mode.


To solve this problem, configure global mapping.

nat server global 10.1.1.2 inside 192.168.1.2


I hope it helps!


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.