Enviado em 26/03/2012 - 11:46h
Pessoal sou novato no Debian, Firewall e Proxy. Estou gerenciando uma rede onde existe um Proxy Squid e um Firewall em um Debian.
A autenticação desses usuários no Proxy acho que é transparente.
Não sei onde achar a configuração do Firewall, ex: redirecionamento de Porta/IP
Mas o problema que estou tende é o seguinte:
Os usuários da rede entram no site (pagina inicial) do Banco do Brasil e FaceBook normalmente. Porém ao tentar fazer o login estes 2 sites, fica carregando... e não abre.. tipo dá time out.
Segue a descrição no meu Squid.conf
http_port 3128 transparent
cache_dir ufs /cache/squid001 25000 64 256
cache_dir ufs /cache/squid002 25000 64 256
error_directory /usr/share/squid/errors/Portuguese
### ACLS
acl all src all
acl redeNOME src 10.10.1.0/255.255.255.0
acl liberadosgeral src 10.10.1.15 10.10.1.20 10.10.1.25 10.10.1.33 10.10.1.34 10.10.1.39 10.10.1.52 10.10.1.53 10.10.1.54 10.10.1.60 10.10.1.105 10.10.1.100
#acl hr_manha time MTWHF 0:00-11:59
#acl hr_tarde time MTWHF 14:00-17:59
#acl hr_almoco time MTWHF 12:00-13:59
#acl hr_noite time MTWHF 18:00-23:59
acl sitesliberados url_regex -i "/etc/squid/sitesliberados.txt"
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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 777 # multiling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow liberadosgeral
http_access allow sitesliberados
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access allow !Safe_ports
http_access allow CONNECT !SSL_ports
http_access allow localhost
http_access deny redejomax
http_access deny all
icp_access allow localnet
icp_access deny all
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
acl shoutcast rep_header X-HTTP09-First-Line ^ICY\s[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
hosts_file /etc/hosts
coredump_dir /var/spool/squid
Já criei uma lista de sites liberados, mas não funciona
Gostaria dessa ajuda.
Como disse sou novato e não sei muito de Proxy/Firewall
Obrigado
A autenticação desses usuários no Proxy acho que é transparente.
Não sei onde achar a configuração do Firewall, ex: redirecionamento de Porta/IP
Mas o problema que estou tende é o seguinte:
Os usuários da rede entram no site (pagina inicial) do Banco do Brasil e FaceBook normalmente. Porém ao tentar fazer o login estes 2 sites, fica carregando... e não abre.. tipo dá time out.
Segue a descrição no meu Squid.conf
http_port 3128 transparent
cache_dir ufs /cache/squid001 25000 64 256
cache_dir ufs /cache/squid002 25000 64 256
error_directory /usr/share/squid/errors/Portuguese
### ACLS
acl all src all
acl redeNOME src 10.10.1.0/255.255.255.0
acl liberadosgeral src 10.10.1.15 10.10.1.20 10.10.1.25 10.10.1.33 10.10.1.34 10.10.1.39 10.10.1.52 10.10.1.53 10.10.1.54 10.10.1.60 10.10.1.105 10.10.1.100
#acl hr_manha time MTWHF 0:00-11:59
#acl hr_tarde time MTWHF 14:00-17:59
#acl hr_almoco time MTWHF 12:00-13:59
#acl hr_noite time MTWHF 18:00-23:59
acl sitesliberados url_regex -i "/etc/squid/sitesliberados.txt"
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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 777 # multiling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow liberadosgeral
http_access allow sitesliberados
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access allow !Safe_ports
http_access allow CONNECT !SSL_ports
http_access allow localhost
http_access deny redejomax
http_access deny all
icp_access allow localnet
icp_access deny all
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
acl shoutcast rep_header X-HTTP09-First-Line ^ICY\s[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
hosts_file /etc/hosts
coredump_dir /var/spool/squid
Já criei uma lista de sites liberados, mas não funciona
Gostaria dessa ajuda.
Como disse sou novato e não sei muito de Proxy/Firewall
Obrigado