Using PASV From an Ubuntu Server to FTP Server

By ServerWatch Staff (Send Email)
Posted May 27, 2010


If you need to transfer files from your Ubuntu server to an FTP server, that requires passive mode (PASV), this andrewault.net blog can help you with firewall blocks. Don't worry though, your system is operating exactly as it is configured to. The explanation just requires a little understanding of FTP and firewalls.


The firewall can be a problem, but with a little understanding of FTP and firewalls the communication can be negotiated.

"The tricky bits concern this second port that is negotiated. This port is not a fixed number, it is a dynamically allocated port above 1023. The port number is encoded in a packet as two numbers that need to be multiplied together to get the port number. The firewalls involved need to be smart enough to recognize the FTP negotiation and extract this data from the data, open that specified port and keep it open during the FTP session."

Read the Full Story at Andrewault.net

Page 1 of 1


Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.