Re: [squid-users] How to deny ftp in squid.conf file

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 19 Feb 2009 00:04:26 +1300

Indunil Jayasooriya wrote:
> Hi,
>
> Is there a way to block ftp access to some client ip addresses in
> squid.conf file and the rest of users should be ble to access ftp
> sites
>
> Lets's assume I want to block ftp access to clients ips such as
> 192.168.1.2, 192.168.1.4, 192.168.1.10 and the rest should be able to
> access ftp sites.
>
> What about ACLs like below ?
>
> acl ftp proto FTP
> acl noftpips src 192.168.1.2 192.168.1.4 192.168.1.10
> http_access allow ! noftpips
>
> Your ideas ?
>

http_access deny noftpips ftp

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
   Current Beta Squid 3.1.0.5
Received on Wed Feb 18 2009 - 11:04:16 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 18 2009 - 12:00:01 MST