Как настроить сквид чтобы ходил только через Proxy.qqq.com
>Как настроить сквид чтобы ходил только через Proxy.qqq.com
Я пробывал неработает почемуто вобще доступа нету :(
У меня стоит так
cach_peer proxy.planetsky.com parent 3128 3130 proxy-only no-query
prefer_direct on
never_direct allow all
работает и через proxy и по земле ходит
proxy.planetsky.com енто тарелка, а мне надо чтобы только через тарелку.
http://squid.opennet.ru/FAQ/faq-forum.shtml#1.3
>http://squid.opennet.ru/FAQ/faq-forum.shtml#1.3Доступ вобще блокируется может у меня лыжы не намазаны
вот мой конф.http_port 3128
icmp_port 3130
cache_peer proxy-cluster-2.planetsky.com parent 3128 3130 no-digest proxy-only no-query default
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 8 MB
cache_dir ufs /var/spool/squid 100 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
ftp_user Squid@Qwerty.com
dns_nameservers 192.168.1.1
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl office src 192.168.1.1/255.255.255.255
acl evgeniy src 192.168.1.10/255.255.255.255
acl office src 192.168.1.40/255.255.255.255
acl evgeniy src 192.168.1.17/255.255.255.255
acl ppp src 10.0.0.1/255.255.255.255
acl SSL_ports port 443 563 24554
acl Safe_ports port 80 21 443 563 70 210 1025-65535 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl squid_block_badlang url_regex "/etc/squid/squidblock/badlang.block.txt"
acl squid_unblock_badlang url_regex "/etc/squid/squidblock/badlang.unblock.txt"
acl squid_block_entertain url_regex "/etc/squid/squidblock/entertain.block.txt"
acl squid_unblock_entertain url_regex "/etc/squid/squidblock/entertain.unblock.txt"
acl squid_block_games url_regex "/etc/squid/squidblock/games.block.txt"
acl squid_unblock_games url_regex "/etc/squid/squidblock/games.unblock.txt"
acl squid_block_pirate url_regex "/etc/squid/squidblock/pirate.block.txt"
acl squid_block_mp3 url_regex "/etc/squid/squidblock/mp3.block.txt"
acl squid_unblock_pirate url_regex "/etc/squid/squidblock/pirate.unblock.txt"
acl squid_block_porn url_regex "/etc/squid/squidblock/porn.block.txt pron.block.txt"
acl squid_unblock_porn url_regex "/etc/squid/squidblock/porn.unblock.txt"
#
acl good_url url_regex "/etc/squid/acl/good_url"
acl bad_urlpath urlpath_regex "/etc/squid/acl/bad_urlpath"
acl bad_url url_regex "/etc/squid/acl/bad_url"
#
http_access allow evgeniy
http_access deny squid_block_badlang !squid_unblock_badlang
http_access deny squid_block_entertain !squid_unblock_entertain
http_access deny squid_block_games !squid_unblock_games
http_access deny squid_block_pirate !squid_unblock_pirate
http_access deny squid_block_mp3
http_access deny squid_block_porn !squid_unblock_porn
http_access deny bad_urlpath !good_url
http_access deny bad_url !good_url
http_access allow connect
http_access allow manager localhost
http_access deny manager
http_access allow SSL_ports
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow office
http_access allow ppp
http_access deny all
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
#never_direct allow all
prefer_direct on
prefer_direct allow all