m0rpheu5
(usa Gentoo)
Enviado em 24/09/2012 - 12:08h
Pessoal, estou tendo problemas para liberar no squid o MSN 2011, o 2009 funciona perfeitamente, sem problema algum, mas o 2011 não vai, da erro 800488eb, segue abaixo o meu squid.conf e o meu iptables. LEMBRANDO, meu squid não deve barrar nada, é apenas para monitorar os acessos da rede.
IPTABLES
iptables -F
iptables -t nat -F
iptables -t mangle -F
modprobe iptable_nat
# Libera Internet Servidor Windows 2008
iptables -t nat -I PREROUTING -s 192.168.1.137 -p tcp --dport 80 -j ACCEPT
#
# Proxy transparente (Redireciona para o squid) - eth1 -> Placa de rede da intranet
#********************************************************
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128
#
# Compartilha Internet - eth0 -> Placa de rede da internet
#********************************************************
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
#
#Redirecionando portas
iptables -I FORWARD -p tcp -i eth0 --dport 3389 -j ACCEPT
iptables -t nat -A PREROUTING -p tcp --dport 3389 -j DNAT --to-destination 192.168.1.137:3389
SQUID.CONF
http_port 3128
cache_mem 1024 MB
maximum_object_size_in_memory 1024 KB
maximum_object_size 204800 KB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid/ 4096 32 256
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
cache_access_log /var/log/squid/access.log
error_directory /usr/share/squid/errors/pt-br
visible_hostname proxy.oxyfit
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 15 20% 4320
acl manager proto cache_object
acl localhost src 127.0.0.1/32
#acl proibido url_regex -i "/etc/squid/proibido.txt"
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 403 # msn
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 Safe_ports port 1863 # msn
acl Safe_ports port 5148 # msn
acl purge method PURGE
acl CONNECT method CONNECT
# Autenticacao dos usuarios
auth_param basic program /usr/lib64/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Servidor Proxy - Oxyfit
auth_param basic credentialsttl 2 hours
acl passwd proxy_auth REQUIRED
acl redelocal src 192.168.1.0/24
acl msn url_regex -i "/etc/squid/msn"
#http_access deny proibido
http_access allow msn
http_access allow redelocal passwd
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
/etc/squid/msn
#Arquivo com urls para liberar o messenger
live-update.net
msgpluslive.net
live.com
passport.com
microsoft.com
msn.com
hotmail.com
corppki.com.br
verisign.com
Por favor se alguem conseguir ver algum erro favor informar para eu alterar na configuração.