Re: [squid-users] Transparent proxy

From: Tek Bahadur Limbu <[email protected]>
Date: Thu, 16 Nov 2006 19:31:07 +0545

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

Hello Isak,

Have you tried using the iptables command as below:

iptables -t nat -A PREROUTING -p tcp -s x.x.x.x/24 --dport 80 -j
REDIRECT --to-port 3128

I used to have this kind of problem some 2 years ago.

On Thu, 16 Nov 2006 14:53:43 +0200
"Isak Badenhorst" <isak@hscomp.co.za> wrote:

> Hi
>
> I have installed squid-2.6.STABLE5. When changing the browser of the
> client to use a proxy server my squid works but when I make the
> change to use it as a transparent proxy I get the error FATAL:
> Received Segment Violation...dying. and cannot get to any web pages.
>
> I use Slackware 11 with kernel 2.4.33.3
>
> My squid.conf have the following
>
> http_port 3128 transparent
>
> and I have the following to intercept requests to port 80
>
> /usr/sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT
> --to-port 3128
>
> I did configure Squid with --enable-linux-netfilter
>
> Any ideas where I go wrong?
>
>
> Thanks
>
> Isak
>
>


- --


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

Jwl Systems Department

Worldlink Communications Pvt. Ltd.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFXGuiwXBzLfFnNxQRAiUEAJ4i6VblEq+Kuv3hoGf0c8W2pdHH3ACfSmff
t+OT5UinJKobBiDJrXtd6Ps=
=AGj6
-----END PGP SIGNATURE-----
Received on Thu Nov 16 2006 - 06:46:35 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST