Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid3 -> Problema no veo el proxy

    Scheduled Pinned Locked Moved Español
    9 Posts 4 Posters 4.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Tony931023
      last edited by

      Hola Foreros!!

      Soy nuevo en esto de pfSense y me gustaría configurar un Proxy para mi red!!

      Les explico mi escenario…

      Version 2.2-RC (amd64) built on Tue Dec 09 09:46:36 CST 2014 FreeBSD 10.1-RELEASE

      PC: CPU Type Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz 4 CPUs: 1 package(s) x 2 core(s) x 2 SMT threads

      DNS server(s) 127.0.0.1 192.168.200.3 8.8.8.8

      Configuración de las Interfaces
      -> Wan: tx0 -> 190.6.64.125/29 (IP Real)
      -> Lan: tx1  ->  192.168.200.241/24 (Red Privada)

      Instalo Squid3 (3.4.10_2 pkg 0.2.1) instala todo bien y voy a service->Proxy server->General y chequeo que Proxy interface(s) este en lan por el puerto 3128 y habilito los log. compruebo que este iniciado el servicio y todo ok.

      ahora voy a el navegador de mi pc configuro el proxy 192.168.200.241 port 3128

      y cuando le doy acceder a una pagina se tarda cargando y al final me responde lo siguiente
      **La conexión ha caducado

      El servidor www.google.com está tardando demasiado en responder.

      El sitio podría estar no disponible temporalmente o demasiado ocupado. Vuelva a intentarlo en unos momentos.
          Si no puede cargar ninguna página, compruebe la conexión de red de su equipo.
          Si su equipo o red están protegidos por un cortafuegos o proxy, asegúrese de que Firefox tiene permiso para acceder a la web.**

      no se que pasa e visto varias guías y lo configuran así o parecido y les funciona,

      necesito ayuda, no se si hay que abrir algún puerto en el cortafuego, especifico el cortafuego no lo he tocado esta por defecto como lo configura el pfsense.

      Muchas gracias antemano..
      Saludos Julio A.

      1 Reply Last reply Reply Quote 0
      • R
        rocaembole
        last edited by

        Qué dice el log del squid cuando intentas conectarte?

        Instalaste squidguard también?

        Saludos.

        No Pain
        No Gain

        1 Reply Last reply Reply Quote 0
        • T
          Tony931023
          last edited by

          en var/squid/logs/  estan vacio solo hay un archivo cache.log en blanco y no instale squidguard

          1 Reply Last reply Reply Quote 0
          • R
            rocaembole
            last edited by

            El servicio de squid está corriendo? status -> services

            No Pain
            No Gain

            1 Reply Last reply Reply Quote 0
            • J
              joselms02
              last edited by

              Puedes navegar en modo trasparente?

              saludos-.-

              1 Reply Last reply Reply Quote 0
              • T
                Tony931023
                last edited by

                el servicio inicia y se cae, y en modo trasparente al servicio estar caido no puedo navegar

                pero ejecuto squid -d 1

                y me muestra lo siguiente

                Shared object "libecap.so.2" not found, required by "squid"

                1 Reply Last reply Reply Quote 0
                • T
                  Tony931023
                  last edited by

                  Leyendo en otros post del foro encontre como arreglar lo de

                  Shared object "libecap.so.2" not found, required by "squid"

                  ejecutando

                  ln -s /usr/pbi/squid-amd64/local/lib/libecap.so.2 /usr/lib/

                  ya ahora esta iniciado el servicio y no se cae pero aun sigo sin navegar a través del proxy y revisando los log de cache.log me muestra lo siguiente

                  2015/01/09 15:31:44 kid1| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.0…
                  2015/01/09 15:31:44 kid1| ERROR: /var/squid/cache/00: (2) No such file or directory
                  FATAL: Failed to verify one of the swap directories, Check cache.log
                  for details.  Run 'squid -z' to create swap directories
                  if needed, or if running Squid for the first time.
                  Squid Cache (Version 3.4.10): Terminated abnormally.
                  CPU Usage: 0.029 seconds = 0.019 user + 0.010 sys
                  Maximum Resident Size: 106368 KB
                  Page faults with physical i/o: 0
                  2015/01/09 15:31:47 kid1| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.0...
                  2015/01/09 15:31:47 kid1| ERROR: /var/squid/cache/00: (2) No such file or directory
                  FATAL: Failed to verify one of the swap directories, Check cache.log
                  for details.  Run 'squid -z' to create swap directories
                  if needed, or if running Squid for the first time.
                  Squid Cache (Version 3.4.10): Terminated abnormally.
                  CPU Usage: 0.037 seconds = 0.028 user + 0.009 sys
                  Maximum Resident Size: 103456 KB
                  Page faults with physical i/o: 0
                  2015/01/09 15:31:51 kid1| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.0...
                  2015/01/09 15:31:51 kid1| ERROR: /var/squid/cache/00: (2) No such file or directory
                  FATAL: Failed to verify one of the swap directories, Check cache.log
                  for details.  Run 'squid -z' to create swap directories
                  if needed, or if running Squid for the first time.
                  Squid Cache (Version 3.4.10): Terminated abnormally.
                  CPU Usage: 0.028 seconds = 0.011 user + 0.017 sys
                  Maximum Resident Size: 120368 KB
                  Page faults with physical i/o: 0
                  2015/01/09 15:31:54 kid1| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.0...
                  2015/01/09 15:31:54 kid1| ERROR: /var/squid/cache/00: (2) No such file or directory
                  FATAL: Failed to verify one of the swap directories, Check cache.log
                  for details.  Run 'squid -z' to create swap directories
                  if needed, or if running Squid for the first time.
                  Squid Cache (Version 3.4.10): Terminated abnormally.
                  CPU Usage: 0.029 seconds = 0.023 user + 0.006 sys
                  Maximum Resident Size: 126752 KB
                  Page faults with physical i/o: 0
                  2015/01/09 15:31:57 kid1| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.0...
                  2015/01/09 15:31:57 kid1| ERROR: /var/squid/cache/00: (2) No such file or directory
                  FATAL: Failed to verify one of the swap directories, Check cache.log
                  for details.  Run 'squid -z' to create swap directories
                  if needed, or if running Squid for the first time.
                  Squid Cache (Version 3.4.10): Terminated abnormally.
                  CPU Usage: 0.029 seconds = 0.010 user + 0.019 sys
                  Maximum Resident Size: 95744 KB
                  Page faults with physical i/o: 0

                  1 Reply Last reply Reply Quote 0
                  • A
                    amnarl
                    last edited by

                    Saludos mi estimado si se inicia y se cae el servicio squid tienes un problema de configuracion en squid.  Segun ese error que postea hay algo que anda mal en squid te recomendaria reinstalarlo de cero para evitar problemas adicionales.

                    Configuracion y puesta en marcha de servers incluyendo pfsense en areas de produccion, para administrar y proveer servicios . Servicio tecnico presencial y online. Reparacion y mantenimiento de computadores. Instalacion y actualizacion de sistemas (Linux, Windows,Os/2) Conectividad a internet en zonas del Estado Lara donde no hay red cableada.
                    http://www.linkedin.com/pub/amnarlyei-goitia/66/b2/722

                    1 Reply Last reply Reply Quote 0
                    • R
                      rocaembole
                      last edited by

                      2015/01/09 15:31:44 kid1| ERROR: /var/squid/cache/00: (2) No such file or directory
                      FATAL:    Failed to verify one of the swap directories, Check cache.log
                        for details.  Run 'squid -z' to create swap directories
                        if needed, or if running Squid for the first time.
                      Squid Cache (Version 3.4.10): Terminated abnormally.

                      Ahí hay una pista

                      por terminal en el pfsense

                      cd /var/squid/cache/

                      squid -z

                      y quizás con eso ya esté

                      No Pain
                      No Gain

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.