We have squid 3.1 on CentOS 6.5. We have blocked team viewer by below
ACl to All user but we want some specific user allow Team viewer. Please
help me to resolve this issue .....
#acl ipacl url_regex [0-9]*\.[0-9]*\.[0-9]*\.[0-9]*
#http_access deny ipacl
#acl num url_regex ^[0-9]+.[0-9]+.[0-9]+.[0-9]+
#http_access deny num
___________________________________________________________________________________
Remember to restart Squid for the changes to take effect
____________________________________________________________________________________
Actually we have OS centos 5.8 & squid 2.6 & its integrated to the AD. its by default denying team viewer access to all user so we put ACL to allow specific user by making one group on AD which user have this group only allow team viewer access.
#acl ipacl url_regex [0-9]*\.[0-9]*\.[0-9]*\.[0-9]*
#http_access deny ipacl
#acl num url_regex ^[0-9]+.[0-9]+.[0-9]+.[0-9]+
#http_access deny num
___________________________________________________________________________________
you can limit the users by using below,
To use the NCSA authentication module, you will need to add the following line to your squid.conf:
authenticate_program /usr/local/squid/bin/ncsa_auth /usr/local/squid/etc/passwd
You
will also need to create the appropriate password file
(/usr/local/squid/etc/passwd in the example above). This file consists
of a username and password pair, one per line, where the username and
password are seperated by a colon (:), just as they are in a Unix
/etc/passwd file. The password is encrypted with the same function as
the passwords in /etc/passwd (or /etc/shadow on newer systems) are. Here
is an example password line:
oskar:lKdpxbNzhlo.w
Since
the encrypted passwords are the same, and the ncsa_auth module
understands the /etc/passwd or /etc/shadow file format, you could simply
copy the system password file periodically. If your users do not
already have passwords in Unix crypt format somewhere, you will have to
use the htpasswd program (in /usr/local/squid/bin/) to generate the
appropriate user and password pairs.
____________________________________________________________________________________
Actually we have OS centos 5.8 & squid 2.6 & its integrated to the AD. its by default denying team viewer access to all user so we put ACL to allow specific user by making one group on AD which user have this group only allow team viewer access.
Now we want
upgrade OS SentOS 6.5 & squid 3.1 but its by default allowing team
viewer access to all user so we put below ACL for block Team viewer
access its working fine but problem is that its blocking all user
even which user have full internet access & also because of this
Team viewer Allow ACL not working.
Please help me to resolve this issue.
#acl ipacl url_regex [0-9]*\.[0-9]*\.[0-9]*\.[0-9]*
#http_access deny ipacl
#acl num url_regex ^[0-9]+.[0-9]+.[0-9]+.[0-9]+
#http_access deny num
#http_access deny ipacl
#acl num url_regex ^[0-9]+.[0-9]+.[0-9]+.[0-9]+
#http_access deny num
_____________________________________________________________________________________________
No comments:
Post a Comment