arthurgef
(usa Ubuntu)
Enviado em 11/07/2017 - 11:28h
Meus jovens sou meio velho no windows porem novato no Linux, instalei e configurei o servidor Proxy Squid 3.5 no Unbut 16.4 LS, porem nao quer funcionar de maneira nenhuma, peguei inumeros sites que mostrar como instalar e configurar para intender cada processo mais nao sei aonde esta o erro, alguem teria como me ajudar. Ainda estou finalizando porem ja deu erro.
OBS: Eu virtualizei essa versao do Unbut no virtual Box com opção de rede Bridge, porem nem no propio servidor o proxy funciona. Instalei o squid e depois o apache3 tudo pelo apt-get
### Autenticação ###
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/squid_passwd
auth_param basic children 10
auth_param basic realm Autentique-se para acessar a internet
auth_param basic credentialsttl 4 hours
auth_param basic casesensitive off
### Controle de Acesso ###
acl all src all
acl redelocal src 192.168.10.0/24
acl localhost src 192.168.10.77/24
acl manager url_regex -i ^cache_object:// /squid-internal-mgr/
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
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 Safe_ports port 1025-65535 # portas altas
acl autenticados proxy_auth REQUIRED
acl bloqueados url_regex "/etc/squid3/bloqueados"
acl permitidos url_regex "/etc/squid3/permitidos"
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny manager
http_access deny bloqueados
http_access allow permitidos
http_access allow autenticados
http_access allow localhost
http_access allow redelocal
http_access deny all
###################### CONFIGURAÇÔES GERAIS #################################
http_port 3128
visible_hostname Servidor_Internet
############################### CACHE ###############################
cache_mem 256 MB
maximum_object_size_in_memory 5 MB
maximum_object_size 500 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid 2048 16 256
cache_access_log /var/log/squid/access.log
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280