Bienvenido(a) a Alcance Libre 06/09/2025, 00:42

Alcance Libre Foros

 Índice del foro > Todo acerca de Linux > Redes y Servidores New Topic Post Reply
 Ayuda Squid no trasparente error con https
Tópico anterior Tópico siguiente
   
julidj97
 01/03/17 12:03 (Leído 6,598 veces)  

Nuevo
envious

Estado: desconectado
Forum User

Identificado: 01/03/17
Mensajes: 3
hola, he instalado squid 3 el cual funciona bien con las url http pero cuando trato de entrar a un sitio con https no me lo permite (se quda en blanco). he buscado en google y nada probe con esto
#acl https port 443
#http_access allow https

y todo igual no me deja navegar en estos sitioss. Tengo configurado squid 2.6 en centos 5.4 y funciona bien trate de pasa linea por linea al squid 3 en centos 7 y nada con https.
 
Profile Email
 Quote
Will Lpz Jimnz
 02/03/17 11:38  

Admin

Estado: desconectado
Site Admin

Identificado: 19/02/07
Mensajes: 181
Localización:Mexico
Bienvenido !!

Por favor podrias postear tu conf para checar lo que tienes?

Saludos !

.:: Cuando el Alumno esta listo, el maestro aparece ::. [[http://koalasoft.wordpress.com ::BLog::]]
 
Profile Email Website
 Quote
julidj97
 02/03/17 01:27  

Nuevo

Estado: desconectado
Forum User

Identificado: 01/03/17
Mensajes: 3
Instale un nuevo Centos 7 y squid 3 (lo tengo todo virtualizado en Proxmox ) para probar si era un dedo mio donde no es, y nada. segui un manual de instalacion al pie de la letra a pesar de que istalar squid relativamente facil lo dificil es configurar.... esto es lo que tengo

#
# Recommended minimum configuration:
#

# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
#acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
#acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
#acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
#acl localnet src fc00::/7 # RFC 4193 local private network range
#acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines

acl SSL_ports port 443
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 CONNECT method CONNECT

#
# Recommended minimum Access Permission configuration:
#
# Deny requests to certain unsafe ports
http_access deny !Safe_ports

# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports

# Only allow cachemgr access from localhost
http_access allow localhost manager
http_access deny manager

# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost

#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#

# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost

acl yo src 10.20.0.100
http_access allow yo

# And finally deny all other access to this proxy
http_access deny all

# Squid normally listens to port 3128
http_port 172.16.5.250:3128
http_port 10.20.0.1:3128

#
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320

cache_peer 201.277.7.7 parent 3128 0 default no-query
cache_mem 64 MB
maximum_object_size_in_memory 2048 KB
cache_dir aufs /var/spool/squid 100 16 256
access_log /var/log/squid/access.log squid
 
Profile Email
 Quote
julidj97
 02/03/17 03:35  

Nuevo

Estado: desconectado
Forum User

Identificado: 01/03/17
Mensajes: 3
este es los log y ya no que mas invertar

1488485037.600 35000 10.20.0.100 TCP_MISS/503 0 CONNECT m.facebook.com:443 - HIER_NONE/- -
1488485048.693 39435 10.20.0.100 TCP_MISS/302 794 GET http://www.google.es/ - FIRSTUP_PARENT/201.220.211.68 text/html
1488485048.694 0 10.20.0.100 TCP_MISS/503 0 CONNECT www.google.es:443 - HIER_NONE/- -
1488487132.159 35000 10.20.0.100 TCP_MISS/503 0 CONNECT m.facebook.com:443 - HIER_NONE/- -
1488487137.159 38087 10.20.0.100 TCP_MISS/503 0 CONNECT www.google.es:443 - HIER_NONE/- -
1488487835.165 35000 10.20.0.100 TCP_MISS/503 0 CONNECT www.google.es:443 - HIER_NONE/- -
1488487846.843 42558 10.20.0.100 TCP_MISS/302 540 GET http://m.facebook.com/ - FIRSTUP_PARENT/201.220.211.68 text/html
1488487846.845 0 10.20.0.100 TCP_MISS/503 0 CONNECT m.facebook.com:443 - HIER_NONE/- -
1488487887.175 0 10.20.0.100 TCP_MISS/503 0 CONNECT www.google.es:443 - HIER_NONE/- -
 
Profile Email
 Quote
Will Lpz Jimnz
 02/03/17 08:22  

Admin

Estado: desconectado
Site Admin

Identificado: 19/02/07
Mensajes: 181
Localización:Mexico
Citando a: julidj97

Instale un nuevo Centos 7 y squid 3 (lo tengo todo virtualizado en Proxmox ) para probar si era un dedo mio donde no es, y nada. segui un manual de instalacion al pie de la letra a pesar de que istalar squid relativamente facil lo dificil es configurar.... esto es lo que tengo

#
# Recommended minimum configuration:
#

# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
#acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
#acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
#acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
#acl localnet src fc00::/7 # RFC 4193 local private network range
#acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines

acl SSL_ports port 443
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 CONNECT method CONNECT

#
# Recommended minimum Access Permission configuration:
#
# Deny requests to certain unsafe ports
http_access deny !Safe_ports

# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports

# Only allow cachemgr access from localhost
http_access allow localhost manager
http_access deny manager

# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost

#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#

# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost

acl yo src 10.20.0.100
http_access allow yo

# And finally deny all other access to this proxy
http_access deny all

# Squid normally listens to port 3128
http_port 172.16.5.250:3128
http_port 10.20.0.1:3128

#
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|?) 0 0% 0
refresh_pattern . 0 20% 4320

cache_peer 201.277.7.7 parent 3128 0 default no-query
cache_mem 64 MB
maximum_object_size_in_memory 2048 KB
cache_dir aufs /var/spool/squid 100 16 256
access_log /var/log/squid/access.log squid



En esta parte :
PHP Formatted Code
acl yo  src 10.20.0.100
http_access allow yo

No estas especificando la mascara de red que usas, agregala


http_port 172.16.5.250:3128
http_port 10.20.0.1:3128


Por que estas usando dos IP diferentes para esuchar el proxy, usa solo la IP que va hacia tu LAN, por ejemplo, si tu Nic que va hacia la red LAN deberia ser :

PHP Formatted Code
http_port ip.de.tu.lan:3128

.:: Cuando el Alumno esta listo, el maestro aparece ::. [[http://koalasoft.wordpress.com ::BLog::]]
 
Profile Email Website
 Quote
Contenido generado en: 0.18 segundos New Topic Post Reply
 Todas las horas son CST. Hora actual 12:42 .
Tópico normal Tópico normal
Tópico Pegado Tópico Pegado
Tópico bloqueado Tópico bloqueado
Mensaje Nuevo Mensaje Nuevo
Tópico pegado con nuevo mensaje Tópico pegado con nuevo mensaje
Tópico bloqueado con nuevo mensaje Tópico bloqueado con nuevo mensaje
Ver mensajes anónimos 
Los usuarios anónimos pueden enviar 
Se permite HTML Filtrado 
Contenido censurado