Search squid archive

Re: problem running transparent proxy with squid-2.6.stable6

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

 



your squid behind firewall.. and firewall is redirecting requests from
squid too...

try this on firewall

iptables -t nat -A PREROUTING -i eth0 -s ! 192.168.1.2 -p tcp --dport
80 -j DNAT --to 192.168.1.2:3128



On 12/28/06, Menuhin Saitov <menuhin@xxxxxx> wrote:
On Thu, Dec 28, 2006 at 05:31:21AM -0800, zulkarnain wrote:
> Hi,
>
> I'm having problem running transparent proxy with
> squid-2.6S6 where squid is not running in the same box
> with router/firewall. Here is my configuration:
>
> [Client]-------[Squid]---[Firewall]----[Web server]
> 192.168.1.3  192.168.1.2  192.168.1.1   192.168.2.2
>                           192.168.2.1
> [squid]
> squid.config: "http_port 3128 transparent".
>
> [Firewall]:
> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport
> 80 -j DNAT --to 192.168.1.2:3128
>


Hi,
can you ping from the client to Internet?

Menuhin
--
Menuhin Saitov          htt://www.msaitov.de





--

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