Tiga 10
(usa Ubuntu)
Enviado em 08/05/2013 - 09:01h
Me de uma ajuda
Minha placa eth0 eu recebo por dhcp
a eth1 sai a internet com IP fixo 10.10.1.2 nessa placa so preciso colocar o IP e a Mascara ou algo mais?
Veja as configurações do Squid e me diga o que esta errado
http_port 10.10.1.2:3128 transparent
visible_hostname nome_do_servidor
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache_mem 400 MB
maximum_object_size 512 KB
minimum_object_size 0 KB
cache_swap_low 50%
cache_swap_high 90%
cache_access_log /var/log/squid/access.log
cache_dir ufs /var/spool/squid 2048 16 256
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
acl all src 10.10.1.2/255.255.255.0
acl manager proto cache_object
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl bloqueio url_regex -i "/etc/squid/bloqueados"
acl CONNECT method CONNECT
acl redelocal src 10.10.1.1
acl all src 10.10.1.2/255.255.255.0
acl manager proto cache_object
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl bloqueio url_regex -i "/etc/squid/bloqueados"
acl CONNECT method CONNECT
acl redelocal src 10.10.1.1
http_access allow redelocal
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny bloqueio
http_access allow all