Search squid archive

RE: Trans Proxy w/ Web Cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry
I am running my squid on 5102 so I mentioned 5102 in iptable.
If you are running at 3128, pl change it to 3128 :-)

Thanks - LK

-----Original Message-----
From: Lokesh Khanna 
Sent: Thursday, September 01, 2005 6:40 AM
To: 'Kyle Dunn'; squid-users@xxxxxxxxxxxxxxx
Subject: RE:  Trans Proxy w/ Web Cache


Make these changes in squid.conf for transparent proxy.

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

acl my-lan src 192.168.0.0/255.255.0.0
http_access allow my-lan
http_access deny All

You need to redirect http traffic to port 3128. You can use iptable for
that

/sbin/iptables -t nat -A PREROUTING -s any/0 -p tcp -d any/0 --dport 80
-j REDIRECT --to-port 5102


I hope this will help :-)

-----Original Message-----
From: Kyle Dunn [mailto:kdunn926@xxxxxxxxx] 
Sent: Thursday, September 01, 2005 5:59 AM
To: squid-users@xxxxxxxxxxxxxxx
Subject:  Trans Proxy w/ Web Cache

What options do I need to configure in the squid.conf in order to run a 
transparent proxy (port 80) with web cache without the need for any 
authentication (windows xp pro is installed on the server). I already 
have it mostly configured, and have been doing so via cygwin, the 
service starts and functions normally but it seems there are a few 
things incorrect and i only need the 192.168.0.0 network in the acl. 
Disclaimer
****************************************************************************************************************************
The information contained in this e-mail, any attached files, and response threads are confidential and 
may be legally privileged. It is intended solely for the use of individual(s) or entity to which it is addressed
and others authorised to receive it. If you are not the intended recipient, kindly notify the sender by return 
mail and delete this message and any attachment(s) immediately.
 
Save as expressly permitted by the author, any disclosure, copying, distribution or taking action in reliance 
on the contents of the information contained in this e-mail is strictly prohibited and may be unlawful.
 
Unless otherwise clearly stated, and related to the official business of Accelon Nigeria Limited, opinions, 
conclusions, and views expressed in this message are solely personal to the author.
 
Accelon Nigeria Limited accepts no liability whatsoever for any loss, be it direct, indirect or consequential, 
arising from information made available in this e-mail and actions resulting there from.
 
For more information about Accelon Nigeria Limited, please see our website at
http://www.accelonafrica.com
******************************************************************************************************************************


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux