Página 2 de 3 PrimeiroPrimeiro 123 ÚltimoÚltimo
+ Responder ao Tópico



  1. seja mais especifico

  2. tenho um mikrotik 3.30 com 3placas 1para o link , 1 para o proxy squid e 1 para os clientes de redes e um serve squid com uma placa de rede,

    o modelo do meu squid ta assim

    http_port 172.1.1.2:2608 transparent

    #hierarchy_stoplist cgi-bin ?
    #acl QUERY urlpath_regex cgi-bin \?
    #cache deny QUERY
    #acl apache rep_header Server ^Apache
    #broken_vary_encoding allow apache
    cache_mem 512 MB
    cache_swap_low 80
    cache_swap_high 85
    maximum_object_size 50 MB
    maximum_object_size_in_memory 256 KB
    cache_dir ufs /var/spool/squid 20000 16 256
    #access_log /var/log/squid/access.log squid
    acl all src all
    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 172.16.0.0/12 # RFC1918 possible internal network
    acl localnet src 172.1.1.2/26 # 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 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 localnet
    http_access deny all
    icp_access allow localnet
    icp_access deny all
    #http_port 3128
    #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


    so que dar erro quando busco o cache no linux



  3. nat
    chain =srcnat
    action= masquerade

    general
    chain = srcnat
    src.address= 10.1.1.0/26
    action=masquerade

    general
    chain=dstnat
    protocol=6 tcp
    dst port =80
    action=dst-nat
    to addresses=172.1.1.2
    to ports = 2608




    ip address
    address = 10.1.1.1/26
    network=10.1.1.0
    brod=10.1.1.63
    inter=clientes

    ip address
    address = 172.1.1.1/26
    network=172.1.1.0
    brod=172.1.1.63
    inter=proxy

    ip address
    address = 192.168.1.3/24
    network=192.168.1.0
    brod=192.168.1.255
    inter=link



    web proxy
    settings

    port = 3128
    cache administrador =webmaster




    o que sera que estar faltando .
    Última edição por pinguim1010; 16-05-2011 às 11:43.

  4. nat
    chain =srcnat
    action= masquerade

    general
    chain = srcnat
    src.address= 10.1.1.0/26
    action=masquerade

    general
    chain=dstnat
    protocol=6 tcp
    dst port =80
    action=dst-nat
    to addresses=172.1.1.2
    to ports = 2608




    ip address
    address = 10.1.1.1/26
    network=10.1.1.0
    brod=10.1.1.63
    inter=clientes

    ip address
    address = 172.1.1.1/26
    network=172.1.1.0
    brod=172.1.1.63
    inter=proxy

    ip address
    address = 192.168.1.3/24
    network=192.168.1.0
    brod=192.168.1.255
    inter=link



    web proxy
    settings

    port = 3128
    cache administrador =webmaster




    o que sera que estar faltando .



  5. esta faltando algumas regras no webproxy e no firewall, pega me msn que te ajudo
    vai no meu perfil






Tópicos Similares

  1. Respostas: 39
    Último Post: 11-06-2009, 11:00
  2. Squid + Mikrotik
    Por admskill no fórum Redes
    Respostas: 30
    Último Post: 04-02-2009, 00:10
  3. Squid + Mikrotik = Combinação Perfeita.
    Por lmriga no fórum Redes
    Respostas: 92
    Último Post: 16-10-2008, 11:50
  4. Squid + Mikrotik + Hotspot
    Por adminegg no fórum Redes
    Respostas: 0
    Último Post: 01-02-2008, 09:02
  5. Squid+Mikrotik
    Por MPFER no fórum Redes
    Respostas: 14
    Último Post: 02-05-2007, 18:16

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L