hi !
i have set the ip forwarding by the command
echo 1 > /proc/sys/net/ipv4/ip_forward
all the lines to be added in squid.conf are there...as normal squid is working fine.
the iptables command i have tried is
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port
8080
only thing is that at present all XP clients have been configured for XP ICS features
but once i change them for a proxy by giving gateway and port 8080 for proxy they work
fine. But then squid is not working in transparent mode. where am i at fault.
regards
Subodh
----- Original Message -----
From: "Manish Kathuria" <[EMAIL PROTECTED]>
To: "The Linux-Delhi mailing list" <[EMAIL PROTECTED]>
Sent: Tuesday, May 25, 2004 2:03 PM
Subject: Re: [ilugd] Transparent Proxy
> HI,
>
> I don't think that you have to recompile the default kernel in RH 8.0 in
> order for Transparent Proxy to work. Make sure IP Forwarding is enabled
> and that you have the following lines in squid.conf
>
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
>
> Allow access to hosts using the ACLS and using iptables make rules to
> redirect tcp packets destined for port 80 to squid port on the host
> where squid is running. Let me have your configuration details if its
> still not working.
>
> - Manish
>
>
>
>
> # Subodh # wrote:
>
> > hi !
> >
> > i have tried all, given in transparent proxy HOWTO except for recompiling kernel
> > and its not working.
> > is there no way to start squid as transparent proxy without recompiling kernel? i
> > am using RH 8.0 kernel 2.4-18.
> >
>
>
>
> _______________________________________________
> ilugd mailinglist -- [EMAIL PROTECTED]
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/[EMAIL PROTECTED]/
>
_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[EMAIL PROTECTED]/