|
|
|
|
|
|
|
[Original]
[Print]
[Top]
|
I am currently running Squid 2.5Stable11 on FreeBSD. it is working fine for http browsing. however error occur when downloading file from website. Error Message as below: While trying to retrieve the URL: ftp://203.126.164.142/driver/DWL-120+%20W...%203.0.34.1.zip
The following error was encountered:
Read Error The system returned:
(54) Connection reset by peer An error condition occurred while reading data from the network. Please retry your request.
I had configure following line in squid.conf but failed. acl FTP proto FTP http_access allow FTP
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
http_port 3128
ftp_passive off
acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 563 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 563 # https, snews acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl Safe_ports port 10000 # webmin acl CONNECT method CONNECT acl FTP proto FTP #acl Internal_0 src 192.168.0.0/255.255.255.0
#Recommended minimum configuration: # # Only allow cachemgr access from localhost http_access allow manager localhost http_access deny manager http_access allow FTP # Deny requests to unknown ports http_access allow CONNECT !SSL_ports # Deny CONNECT to other than SSL ports # http_access allow Internal_0 # # We strongly recommend the following be uncommented to protect innocent # web applications running on the proxy server who think the only # one who can access services on "localhost" is a local user #http_access deny to_localhost # # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
# Example rule allowing access from your local networks. Adapt # to list your (internal) IP networks from where browsing should # be allowed acl our_networks src 192.168.0.0/24 http_access allow our_networks
# And finally deny all other access to this proxy http_access allow all
These are the portion that i did some changes. the others are all default by squid.conf.
your assistance is highly appreciated.
|
|
|
[Original]
[Print]
[Top]
|
|
|