Proxy - Proxy inverso Squid

 
Vista:

Proxy inverso Squid

Publicado por Patri25 (1 intervención) el 17/09/2009 14:59:35
Hola a todos, tengo problemas con squid, ya que los que intentan acceder a mi pagina web, no pueden, voy a indicarles mas o menso la configuracion detodo:

Para empezar mi router reserva el puerto 80 pa su web d configuracion asique abri el 8060 km puerto externo, y como puerto interno el 8080 que es donde escucha el apache.

Server Name External Port Start External Port End Protocol Internal Port Start Internal Port End Server IP Address
wiki 8060 8060 TCP 8080 8080 192.168.1.xxx

Bien, ahora el apache como he dicho lo tengo listen 8080, y poseeo un dominio, y lo configue to en virtualhosts:
NameVirtualHost *:8060

<VirtualHost *:8060>

DocumentRoot /opt/lampp/htdocs/mediawiki/
ServerName patriwk.dyndns.org
# ServerAlias www.dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>

en etc/hosts tengo puesto mi ip 192.128.1.xxx segido del dominio

y ahora el squid.conf, que tiene que hacer de PROXY INVERSO...

http_port 3128 transparent

acl all src 0.0.0.0/0.0.0.0

##Creo la siguiente acl con su regla
acl webinternas dst "/etc/squid/webinternas"
http_access allow webinternas
always_direct allow webinternas

acl ServidoresLocales dst 192.168.1.0/24
always_direct allow ServidoresLocales

cache_mem 128 MB
cache_dir ufs /var/spool/squid 1000 16 256
access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
hosts_file /etc/hosts

por ultimo decir q la regla iptables q tngo o q meti es

/sbin/iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 8080 -j REDIRECT --to-port 3128

y en access.log m report lineas km esta:

1253183389.330 157 xx.xxx.xx.xxx TCP_MISS/504 1423 GET http://patriwk.dyndns.org:8060/ - DIRECT/192.168.1.128 text/html
1253183391.038 105 xx.xxx.xx.xxx TCP_MISS/504 1505 GET http://patriwk.dyndns.org:8060/mediawiki/index.php/P%C3%A1gina_Principal - DIRECT/192.168.1.128 text/html

¿Alguna idea o solucion sobre la configuracion? gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

Proxy inverso Squid

Publicado por dfgdf (1 intervención) el 26/02/2013 11:22:08
no hay solucion !
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar