Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the squid proxy on CentOS but, I can't connect to FTP sites from WAN. I did open FTP ports in the firewall on CentOS. However, I receive a "Page cannot be displayed" error when I try to connect to FTP sites.

What should I do?

share|improve this question
You need to post more information. Did you configure your browser properly? (Also try a dedicated FTP client.) Did you configure your proxy properly? Do you have a firewall issue? We can't tell, since you didn't give any information about these. And always copy-paste the full error message, not just part of the error (if that's all your browser displays, you may need to click somewhere to get the full error message). – Gilles Jun 23 '11 at 10:11
up vote 0 down vote accepted

Add the below 3 lines to squid.conf, and reload squid. Should work for ftp upload and download via squid.

acl SSL_ports port 443 21
acl ftp proto FTP
http_access allow ftp

Visit for usefull squid tutorial

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.