Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
2  
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

1 Answer 1

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

 
discard

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.