+ Responder ao Tópico



  1. #1
    bouncer
    Visitante

    Padrão proxy transparente

    meu servidor red hat 7.2..eu to usano aqui na rede
    como fazer pra ter um proxy transparente
    eu fiz isso aqui..

    vi /etc/rc.local
    adicione esta linha aqui
    iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j REDIRECT --to-port 3128
    ou sera que tenho que adicionar uma linhas no meu squid.conf
    quen pode me passar essa dica..

  2. #2
    Speed
    Visitante

    Padrão proxy transparente

    Bouncer,

    Vc tem q editar no seu squid.conf as seguintes TAG´s:

    TAG - httpd_accel_host
    TAG - httpd_accel_port
    TAG - httpd_accel_with_proxy
    TAG - httpd_accel_uses_host_header

    Ficando elas com os seguintes valores:

    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on

    Espero ter ajudado.