Ina Patricia Lopez wrote:
> i installed redhat6.2 and squid-2.3.STABLE4 with
> --enable-ipf-transparent,but its looking for IP-Filter headers and
> transparent proxy support was disabled.
no need to enabled that since youre in linux
> how do i enable transparent
> proxy on my squid?
in squid.conf:
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
in linux by default installation coming from redhat6.2:
enable ip forwarding in /etc/sysctl.conf
net.ipv4.ip_forward = 1
hijack port 80 using ipchains:
ipchains -A input -j REDIRECT 3128 -p tcp -s 0.0.0.0/0 -d 0.0.0.0/0 80
you can use your squid box as their default gateway in order for ipchains to hijack
web traffic and redirect it to
squid port 3128 or you can configure your router to intercept and redirect all the web
traffic into your squid box
except for the ip address of your squid server.
fooler.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]