Search squid archive

Re: Transparent proxy

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

 



iptables -t nat -A PREROUTING -p tcp -s x.x.x.x/24 --dport 80 -j DNAT
--to-destination xxx.xxx.xxx.xxx:3128

On 11/16/06, Tek Bahadur Limbu <teklimbu@xxxxxxxxxxxx> wrote:
-----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@xxxxxxxxxxxx> 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-----



--

Sds.
Alexandre J. Correa
Onda Internet / OPinguim.net
http://www.ondainternet.com.br
http://www.opinguim.net

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

  Powered by Linux