Squid3 -> Problema no veo el proxy
-
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 caducadoEl 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. -
Qué dice el log del squid cuando intentas conectarte?
Instalaste squidguard también?
Saludos.
-
en var/squid/logs/ estan vacio solo hay un archivo cache.log en blanco y no instale squidguard
-
El servicio de squid está corriendo? status -> services
-
Puedes navegar en modo trasparente?
saludos-.-
-
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"
-
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 -
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.
-
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é