guimteixeira
(usa Debian)
Enviado em 22/03/2011 - 14:05h
Olá amigos,
vi vários POSTs que dizem a respeito a não conseguir acessar o Internet Banking da CEF.
http://internetbanking.caixa.gov.br
Contudo não conseguir permitir o acesso a esta pagina, ele fica 'eternamente' carregando.
Além do que, o COB Caixa também não recebe os retornos.
Já tentei desabilitar cache pra estas páginas e NADA!
Segue abaixo as minhas regras de IPTABLES e meu squid.conf
########################## Regras iptables
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t nat -A PREROUTING -s 192.168.3.0/24 -p tcp --dport 80 -j REDIRECT --to-port 3128
iptables -t nat -A PREROUTING -s 192.168.4.0/24 -p tcp --dport 80 -j REDIRECT --to-port 3128
iptables -A FORWARD -s 192.168.3.0/24 -p tcp --dport 1863 -j REJECT
iptables -A FORWARD -s 192.168.3.0/24 -d loginnet.passport.com -j REJECT
iptables -A FORWARD -s 192.168.4.0/24 -p tcp --dport 1863 -j REJECT
iptables -A FORWARD -s 192.168.4.0/24 -d loginnet.passport.com -j REJECT
iptables -A FORWARD -s 192.168.4.9/24 -p tcp --dport 1863 -j ACCEPT
iptables -A FORWARD -s 192.168.4.9/24 -d loginnet.passport.com -j ACCEPT
iptables -A FORWARD -s 192.168.4.10/24 -p tcp --dport 1863 -j ACCEPT
iptables -A FORWARD -s 192.168.4.10/24 -d loginnet.passport.com -j ACCEPT
iptables -A FORWARD -s 192.168.4.12/24 -p tcp --dport 1863 -j ACCEPT
iptables -A FORWARD -s 192.168.4.12/24 -d loginnet.passport.com -j ACCEPT
iptables -A FORWARD -s 192.168.3.0/24 -p tcp --dport 7171 -j REJECT
##############################
#################squid.conf
http_port 3128 transparent
visible_hostname Firewall-1
cache_mem 1000 MB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid3 20000 16 256
maximum_object_size 500 MB
maximum_object_size_in_memory 2 MB
access_log /var/log/squid3/access.log
cache_log /var/log/squid3/cache.log
cache_store_log /var/log/squid3/store.log
pid_filename /var/log/squid3/squid3.pid
mime_table /usr/share/squid3/mime.conf
cache_mgr guilherme@gmtwebservices.com
memory_pools off
diskd_program /usr/lib/squid3/diskd
unlinkd_program /usr/lib/squid3/unlinkd
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern . 0 20% 4320
quick_abort_max 16 KB
quick_abort_pct 95
quick_abort_min 16 KB
request_header_max_size 20 KB
reply_header_max_size 20 KB
request_body_max_size 0 KB
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 1863 # 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 CONNECT method CONNECT
#ACLs criadas
acl redeprofessores src 192.168.4.0/24
acl redealunos src 192.168.3.0/24
acl pcsliberados src "/etc/squid3/pcs_liberados"
acl block_sites url_regex -i "/etc/squid3/sites_bloqueados"
acl siteslivres url_regex -i "/etc/squid3/sites_liberados"
acl sitesproibidosalunos url_regex -i "/etc/squid3/sites_proibidos_alunos"
acl bloquepalavra dstdom_regex "/etc/squid3/palavras_bloqueadas"
acl liberapalavra dstdom_regex "/etc/squid3/palavras_liberadas"
acl portas port "/etc/squid3/portas_bloqueadas"
acl msn-port port 1863
acl MSN req_mime_type -i ^application/x-msn-messenger$
acl proibecache url_regex -i "/etc/squid3/cache_proibido"
#liberações e restrições
http_access allow pcsliberados
no_cache deny proibecache
http_access allow liberapalavra
http_access allow siteslivres
http_access deny bloquepalavra
http_access deny MSN
http_access deny block_sites
http_access deny portas
http_access deny msn-port
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow redeprofessores
http_access deny sitesproibidosalunos
http_access allow redealunos
cache_mgr Guilherme
mail_program mail
cache_effective_user proxy
cache_effective_group proxy
httpd_suppress_version_string off
error_directory /usr/share/squid3/errors/Portuguese/
######
Por favor me ajudem!
Guilherme