pvisaoprph
(usa Conectiva)
Enviado em 19/03/2008 - 21:34h
la por favor o que pode estar errado?
Estou configurando um servidor proxy e quando nas estações configuro o navegador para acessar a internet ip 192.168.0.3(eth1) que a maquina que esta ligada no velox atarves da eth0(192.168.10.3, tudo funciona perfeitamente porem se eu configuro o navegador para detectar as configurçõas não consigo navegar da erro de pagina não encontrada. Abaixo segue as informaçẽs e configuraçoes dos arquivos.
distribição debian 4,1
squid 2.6
interfaces:
This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface (rede externa)
allow-hotplug eth0
iface eth0 inet static
address 192.168.10.3
netmask 255.255.255.0
network 192.168.10.0
gateway 192.168.10.20
broadcast 192.168.10.255
dns-nameservers 192.168.10.20
#rede interna
allow-hotplug eth1
iface eth1 inet static
address 192.168.0.3
netmask 255.255.255.0
network 192.168.0.0
gateway 192.168.10.2
broadcast 192.168.0.255
dns-nameservers 192.168.10.2
squid.conf
http_port 192.168.10.3:3128 transparent
visible_hostname linux
#auth_param basic program /usr/bin/ncsa_auth /etc/squid/squid_passwd
#auth_param basic children 5
#auth_param basic realm Digite seu Login
#auth_param basic credentialsttl 60 second
#acl adm proxy_auth REQUIRED
#acl liberar proxy_auth REQUIRED
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/log/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
acl all src 0.0.0.0/0.0.0.0
#acl acesso_total_ip src "/etc/squid/acesso_total_ip"
#acl rede_local_centro src 10.0.0.0/255.255.255.192
#acl rede_local_ita src 10.100.100.0/255.255.255.0
#acl rede_local_tere src 192.168.0.0/255.255.255.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
#acl SSL_ports 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews 13-02
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe-ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 771 # multiling http
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # SWAT
acl Safe_ports port 8017
acl Safe_ports port 3271 #04-12-06 atual.pocket
acl purge method PURGE
acl CONNECT method CONNECT
#acl bloqueio dstdomain "/etc/squid/bloqueio"
acl liberar url_regex -i "/etc/squid/liberar"
http_access allow liberar
#http_access allow acesso_total_ip
http_access allow manager localhost
http_access deny manager
#http_access allow purge localhost 08-02
#http_access deny purge 08-02
#http_access deny !Safe_ports 08-02
#http_access deny CONNECT !SSL_ports
http_access allow localhost
#http_access deny bloqueio
#http_access allow rede_local_centro
#http_access allow rede_local_ita
#http_access allow rede_local_tere
http_access deny all
#comentadas por pvisao em 29-01-2008
#httpd_accel_port 80
#httpd_accel_host virtual
#httpd_accel_with_proxy on
#httpd_accel_uses_host_header on
http_port 192.168.10.3:3128 transparent
Obrigado a que puder ajudar