Configuração Squid
|
20/05/2017, 11:27
Resposta: #1
|
|||
|
|||
Configuração Squid
Bom dia,
Editei o arquivo de configuração em /etc/squid3/squid.conf , com as seguintes linhas: # /etc/squid3/squid.conf http_port 3128 visible_hostname debian cache_mem 64 MB maximum_object_size_in_memory 64 KB maximum_object_size 512 MB minimum_object_size 0 KB cache_swap_low 90 cache_swap_high 95 cache_dir ufs /var/spool/squid3 2048 16 256 cache_access_log /var/log/squid3/access.log refresh_pattern ^ftp: 15 20% 2280 refresh_pattern ^gopher: 15 0% 2280 refresh_pattern . 15 20% 2280 acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl SSL_ports port 443 563 acl Safe_ports port 21 80 443 563 70 210 280 488 59 777 901 1025-65535 acl purge method PURGE acl CONNECT method CONNECT http_access allow all http_access allow manager localhost http_access deny manager http_access allow purge localhost http_access deny purge http_access deny !Safe_ports http_access deny CONNECT !SSL_ports # acl redelocal src 192.168.1.0/24 acl redelocal src 192.168.136.0/24 http_access allow localhost http_access allow redelocal http_access deny all ...Estou usando o VMware Workstation com essa maquina, as configurações do arquivo /etc/network/interfaces é: # The loopback network interface auto lo iface lo inet loopback # The primary network interface #allow-hotplug eth0 #iface eth0 inet dhcp auto eth0 iface eth0 inet static address 192.168.136.3 netmast 255.255.255.0 broadcast 192.168.136.255 gateway 192.168.136.2 dns-namservers 208.67.222.222 [email protected]:/$ sudo /etc/init.d/squid3 restart [ ok ] Restarting squid3 (via systemctl): squid3.service. [email protected]:/$ ... Configurando o navegador para acessar o localhost na porta 3128, é mostrada a mensagem: The proxy server is refusing connections Firefox is configured to use a proxy server that is refusing connections. Check the proxy settings to make sure that they are correct. Contact your network administrator to make sure the proxy server is working. ... o arquivo de configuração /etc/squid3/squid.conf esta incorreto? Por favor, estou começando agora e não imagino o que esta errado! Desde ja agradeço a ajuda. |
|||
« Anteriores | Seguintes »
|
Usuários visualizando este tópico: 1 Visitantes