Re: Transparent proxy does not work

From: Jati Setiawan <jati@dont-contact.us>
Date: Tue, 16 Nov 1999 22:57:05 +0700

Have you done this?
# echo 1 > /proc/sys/net/ipv4/ip_forward

Jati
----- Original Message -----
From: kiwi soft <kiwi_soft@yahoo.com>
To: <squid-users@ircache.net>
Sent: Tuesday, November 16, 1999 10:01 PM
Subject: Transparent proxy does not work

> Hi
> Iam using kernel 2.2.5-15 and squid-2.2.STABLE5
> I configured and compiled kernel with the following
> options set as follows
> 1. Prompt for Development and/or Incomplete code
> drivers
> 2.Network Firewalls
> 3.TCP/IP Networking
> 5.IP Firewalling
> 6.IP Transparent Proxy Support.
> 7.Optimize as Router Not Host
>
> In squid.conf I have the following options
> http_port 3128
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
>
> Iam using Ipchains package for Ip firewall
> administration.
> I have the following lines in rc.local startup script
> /sbin/ipchains -A input -p TCP -d 127.0.0.1/32 www -j
> ACCEPT
> /sbin/ipchains -A input -p TCP -d 172.16.1.113/32 www
> -j ACCEPT
> /sbin/ipchains -A input -p TCP -d 0/0 www -j REDIRECT
> 3128
>
> Iam running squid on port 3128 in machine 172.16.1.113
>
>
> After doing all this I also changed the default
> gateway to 172.16.1.113 in client machine. In my
> browser i selected the option direct connection to the
> internet instead of proxy. when I request for ex.
> www.yahoo.com, Iam not able contact squid machine. I
> dont know what is the problem. can any one help me.
>
> Do i need cisco router? or simply if i can change
> default gateway to the machine where squid is running.
>
> Thanks in advance
> kiwi soft
>
>
> =====
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
Received on Tue Nov 16 1999 - 09:11:35 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT