-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.. i've a problem configuration width squid

I must configur squid to alter the course of web package from http
request of any site of a lan to the apache server of the same computer
where squid are installed.. well!!

I so configured the squid.conf



http_port 3128
acl allowed_hosts src 0.0.0.0/0.0.0.0
http_access allow allowed_hosts
httpd_accel_host 127.0.0.1 # apache and squid run in the same computer
httpd_accel_port 80
httpd_accel_single_host on
httpd_accel_with_proxy on
httpd_accel_uses_host_header off

Then I make this iptables rule

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
- --to-port 3128

So I redirect the web traffic to squid port.. but..
it dosen't work.. my lan client can surf on internet..
I want that they are redirect to apache page of server..

it's possible, yes! but how?
- --
  <<<<---------------------------------------------------------->>>>
  |Giuseppe Moscato aka peppeska - Linux User - no html messages---|

  |[EMAIL PROTECTED] - http://peppeska.altervista.org------|

  |Fingerprint = A4D6 65AB C032 0C3C CCEC  3E44 9394 6C37 74DF FE48|
  <<<<---------------------------------------------------------->>>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFMnnLkEJak2jborwRAlKAAJ9buP6eHqBolVA0z9XZKapD5aycFACgt71U
63CfwQzmveeq8K4zjTTReHw=
=fGYq
-----END PGP SIGNATURE-----

Reply via email to