Turn: FTP Active Passive mode of operation

Source: Internet
Author: User
Tags filezilla


How do I set the active mode of FileZilla server?

--------------------------------------------------------------------------------------------------------------- ----------------------------------------

Sets the Passive FTP (PASV), which is the specified port or the random port. FileZilla Server only set the option of passive FTP, friends will ask, the active FTP (PORT) where to go?

I took a long time to understand that the decision to FTP is the port (active), or PASV (passive), the key is to look at the command sent by the client. In other words, the decision is right on the client.

Server-side Open 20 and 21 ports, the client as long as the choice is active mode, the server side, automatically set the connection to port (active);
Server-side open port 21, and set PASV is the specified port, or random port, and access to these ports, the client is set to passive mode, this connection is automatically set to PASV.


Either port (Active) or PASV (passive), you must open port 21.

--------------------------------------------------------------------------------------------------------------- ----------------------------------------
Passive FTP (PASV, specified port)--Recommended

1) FTP server, open the PASV mode of the specified port, specify at least 10 consecutive ports, and open these ports in the firewall.

2) 10 consecutive ports, all high-level ports (greater than 1024)

3) in Windows Firewall and third-party security software, be sure to get through these ports.

4) After measurement, PASV (passive FTP) does not require the opening of 20 ports, but must open 21 ports. To reduce the memory burden, whether it's port or PASV, make sure that Windows Firewall and third-party security software get through ports 20 and 21.

5) The client remains in passive mode, and if you change to active mode, the FTP will not open.
In Windows Firewall and third-party security software, get through 20, 21, and the other ports specified above.

--------------------------------------------------------------------------------------------------------------- ----------------------------------------
Passive FTP (PASV, random port)--not recommended

1) Open the PASV of random ports, require the server to open all ports, shut down the firewall.

2) to shut down the firewall completely, you need to turn off Windows Firewall and third-party security software.

3) The different types of networks under Windows Firewall on the server, such as home, work, public network location, etc., are closed. (emphasis is on "public network location")

4) The client remains in passive mode, and if you change to active mode, the FTP will not open.








Http://www.hostloc.com/thread-246285-1-1.html



Turn: FTP Active Passive mode of operation


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.