poniedziałek, 18 kwietnia 2011

Squid proxy dla pojedynczego hosta

visible_hostname jakas_nazwa
http_port 8118
icp_port 0
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
redirect_rewrites_host_header off
acl moj_host src ip.mojego.hosta/255.255.255.255
acl localhost src 127.0.0.1/255.255.255.255
acl Safe_ports port 80 443 210 119 70 21 1025-65535
acl CONNECT method CONNECT
acl all src 0.0.0.0/0.0.0.0
http_access allow moj_host
http_access allow localhost
http_access deny !Safe_ports
http_access allow CONNECT
http_access deny all
cache_mgr admin@jakas_domena.pl
log_icp_queries off
cachemgr_passwd my-secret-pass all
buffered_logs off
access_log /var/log/squid/access.log squid

Brak komentarzy:

Prześlij komentarz