Search squid archive

Re: How to deny ftp in squid.conf file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux