Re: [squid-users] Transparent proxy - help

From: n.g <[email protected]>
Date: Thu, 31 Jan 2002 21:15:27 +0500

Hello all,
I am also working for setting up squid as transparent proxy on RH 7.2 with
the built in kernel and iptables.
How do i get the kernel configuration menu?
i mean through what command.. as I am totally lost in 7.2
Right now I have configured the squid part.
I have put the value "1" in /proc/sys/net/ipv4/ip_forward
and i have tried to use this command

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

This last command is accepted as well at shell prompt but what next ??
please help

Thanks in advance

Regards,

---
n.g
-----Original Message-----
From: Visolve.com <squid@visolve.com>
To: squid-users@squid-cache.org <squid-users@squid-cache.org>; Erick Perez
(Asesor de Seguridad Informatica) <eperez@consultant.com>
Date: Tuesday, January 29, 2002 11:39 AM
Subject: Re: [squid-users] Transparent proxy - help
>Hello Erick A. Perez H.,
>
>Configuring squid in Transparent Mode :
>
>Squid can be configured to act transparently. In this mode , clients are
not
>required to configure their browsers to access the cache,but Squid will
>transparently pick up the appropriate packets and cache requests.
>
>To Run Squid in a Transparent mode, enable the following directives in
>squid.conf .
>
>        httpd_accel_host virtual
>        httpd_accel_port 80
>        httpd_accel_with_proxy on
>        httpd_accel_uses_host_header on
>
>     For more information, have a look at
>http://www.visolve.com/images/wptrcache.pdf .
>
>Note : you have to use any firewall configuration(like ipchains for< 2.4
>kernel, iptables for 2.4 series... )for transparent redirection .
>
>HTH .
>
>Regards,
>-Kanchana
>www.visolve.com
>Get Unlimited Squid Support .Click www.visolve.com/sqsupser.htm for
details.
>
>----- Original Message -----
>From: "Erick Perez (Asesor de Seguridad Informatica)"
><eperez@consultant.com>
>To: <squid-users@squid-cache.org>
>Sent: Tuesday, January 29, 2002 11:41 AM
>Subject: [squid-users] Transparent proxy - help
>
>
>> Sirs, I find my way to install correctly the squid configuring the
>> clients to usa a proxy on port 80. However if the user removes the entry
>> in his/her browser to use the internet, the ACL wont apply.
>> I read about the transparent proxy but I cannot understand the way to
>> enable it.
>>
>> My config is this:
>> 192.168.0.1 Squid, no web server running
>> 192.168.0.1 is the Internet gateway for the users as handled by DHCP
>> daemon.
>> This is a Linux Mandrake Machine, With a RPM Squid.
>>
>> Is there any idiot-proof way for me to understand how to enable
>> transparent proxy?
>>
>> Thanks,
>>
>> Erick A. Perez H.
>>
>>
>
Received on Thu Jan 31 2002 - 09:11:41 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:02 MST