Re: [CentOS] SQUID access URL and Port

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



Greetings, Adriano.

10 ?????? 2006 ?., 22:34:55 you have wrote:
> I am using ACL for user access Internet  by SQUID, but I need all users
> access site http://sivolks1.volkswagen.com.br:5169/indexteste.html.

> How do it ?

Assuming your users are on subnet 192.168.0.0/24, this should go to
the squid.conf to the place where are all the acls defined:

acl aero url_regex -i http://sivolks1\.volkswagen\.com\.br:5169/indexteste\.html
acl lan_users src 192.168.0.0/255.255.255.0

And this should go to squid.conf just after
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
# And finally deny all other access to this proxy

http_access allow lan_users this_site

After modifying:

[someuser@somehost pwd]# squid -k parse
[someuser@somehost pwd]# service squid reload

-- 
Best Regards,
 Alexey Loukianov                          mailto:aloukianov@xxxxxxxxxx

Software Development Department,
Lavtech Corp
http://mnogo.ru, http://lavtech.ru

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux