+ Responder ao Tópico

Msn



  1. #1
    fernando_ramos
    Visitante

    Angry Msn

    prezados,
    bom dia.

    Utilizo Debian, e conexão a internet via velox.

    Instalei o squid e habilitei proxy transparente, segue o arquivo:

    visible_hostname frlinux
    http_port 3128
    hierarchy_stoplist cgi-bin ?

    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY

    cache_mem 8 MB
    cache_swap_low 90
    cache_swap_high 95
    maximum_object_size 4096 KB
    minimum_object_size 0 KB
    maximum_object_size_in_memory 8 KB
    ipcache_size 1024
    ipcache_low 90
    ipcache_high 95
    cache_dir ufs /var/spool/squid 100 16 256
    cache_access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log
    cache_store_log /var/log/squid/store.log
    ftp_user Squid@
    hosts_file /etc/hosts

    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern . 0 20% 4320

    acl all src 0.0.0.0/0.0.0.0
    acl manager proto cache_object
    acl localhost src 127.0.0.1/255.255.255.255
    acl to_localhost dst 127.0.0.0/8
    acl SSL_ports port 443 563 # https, snews
    acl SSL_ports port 873 # rsync
    acl Safe_ports port 80 # http
    acl Safe_ports port 21 # ftp
    acl Safe_ports port 443 563 # https, snews
    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 manager localhost
    http_access deny manager

    http_access allow purge localhost
    http_access deny purge

    http_access deny !Safe_ports

    http_access allow CONNECT !SSL_ports

    acl REDE src 192.168.0.0
    http_access allow REDE

    http_access allow localhost

    http_access allow all
    http_reply_access allow all
    icp_access allow all

    httpd_accel_port 80
    httpd_accel_host virtual
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on


    juntamente com o squid coloquei um script para compartilhar a internet e redirecionar a porta 80 para o squid, segue o script:

    iptables -F
    iptables -F INPUT
    iptables -F OUTPUT
    iptables -F POSTROUTING -t nat
    iptables -F PREROUTING -t nat

    echo 1 > /proc/sys/net/ipv4/ip_forward

    iptables -P FORWARD ACCEPT
    iptables -A POSTROUTING -t nat -s 192.168.0.0/24 -o ppp0 -j MASQUERADE

    iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128


    onde eth0 é a minha placa de rede interna.


    Bom , vamos ao problema.
    acesso sites normalmente, atualizo o avg normalmente, conecto ao e-mule normalmente, porém o msn nao conecta....ele fica tentando...tentando e nao conecta...

    gostaria de saber o que posso fazer para resolver isso!

  2. #2
    fernando_ramos
    Visitante

    Padrão

    prezados,
    bom dia.

    Utilizo Debian, e conexão a internet via velox.

    Instalei o squid e habilitei proxy transparente, segue o arquivo:

    Citação Postado originalmente por fernando_ramos Ver Post
    visible_hostname frlinux
    http_port 3128
    hierarchy_stoplist cgi-bin ?

    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY

    cache_mem 8 MB
    cache_swap_low 90
    cache_swap_high 95
    maximum_object_size 4096 KB
    minimum_object_size 0 KB
    maximum_object_size_in_memory 8 KB
    ipcache_size 1024
    ipcache_low 90
    ipcache_high 95
    cache_dir ufs /var/spool/squid 100 16 256
    cache_access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log
    cache_store_log /var/log/squid/store.log
    ftp_user Squid@
    hosts_file /etc/hosts

    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern . 0 20% 4320

    acl all src 0.0.0.0/0.0.0.0
    acl manager proto cache_object
    acl localhost src 127.0.0.1/255.255.255.255
    acl to_localhost dst 127.0.0.0/8
    acl SSL_ports port 443 563 # https, snews
    acl SSL_ports port 873 # rsync
    acl Safe_ports port 80 # http
    acl Safe_ports port 21 # ftp
    acl Safe_ports port 443 563 # https, snews
    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 manager localhost
    http_access deny manager

    http_access allow purge localhost
    http_access deny purge

    http_access deny !Safe_ports

    http_access allow CONNECT !SSL_ports

    acl REDE src 192.168.0.0
    http_access allow REDE

    http_access allow localhost

    http_access allow all
    http_reply_access allow all
    icp_access allow all

    httpd_accel_port 80
    httpd_accel_host virtual
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on
    juntamente com o squid coloquei um script para compartilhar a internet e redirecionar a porta 80 para o squid, segue o script:

    iptables -F
    iptables -F INPUT
    iptables -F OUTPUT
    iptables -F POSTROUTING -t nat
    iptables -F PREROUTING -t nat

    echo 1 > /proc/sys/net/ipv4/ip_forward

    iptables -P FORWARD ACCEPT
    iptables -A POSTROUTING -t nat -s 192.168.0.0/24 -o ppp0 -j MASQUERADE

    iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128


    onde eth0 é a minha placa de rede interna.


    Bom , vamos ao problema.
    acesso sites normalmente, atualizo o avg normalmente, conecto ao e-mule normalmente, porém o msn nao conecta....ele fica tentando...tentando e nao conecta...

    gostaria de saber o que posso fazer para resolver isso!