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