Re: [squid-users] connect FTP server from squid

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 12 Jun 2009 22:29:47 +1200

cable linux wrote:
>
> Hi,
>
> I want to use squid to connect to ftp servers, all firewalls are disable, but i am not able to connect

What version of Squid are you using?
And how are you attempting to access the FTP servers?
Do they require login to access?

>
> Here is my squid.conf
>
> http_port 3128
>
> icp_port 3130
> hierarchy_stoplist cgi-bin?
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
> cache_dir ufs /var/spool/squid 10000 32 256
> cache_access_log /var/log/squid/access.log
> cache_log /var/log/squid/cache.log
> ftp_user Squid@
> ftp_list_width 32
> ftp_passive on
> ftp_sanitycheck on
> dns_nameservers xx.xx.xx.xx xx.xx.xx.xx
> acl all src 0.0.0.0/0.0.0.0
> acl manager proto cache_object
> acl bims src 192.168.100.0/255.255.255.0
> http_access allow bims
> http_access deny all
> http_reply_access allow all
> icp_access allow all
> visible_hostname bims
> acl FTP proto FTP
> always_direct allow FTP
>

In absence of further info, that looks like it should work.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
   Current Beta Squid 3.1.0.8 or 3.0.STABLE16-RC1
Received on Fri Jun 12 2009 - 10:29:57 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 12 2009 - 12:00:03 MDT