transparent proxy for squid-2.6.STABLE6-5.el5_1.3

Taking care of your Linux box.
Post Reply
Burhan
Lance Naik
Posts: 32
Joined: Mon Oct 01, 2007 1:49 pm
Contact:

transparent proxy for squid-2.6.STABLE6-5.el5_1.3

Post by Burhan »

Hi i have configured transparent proxy for squid-2.6.STABLE6-3.el5
with the following configuration

echo "1" > /proc/sys/net/ipv4/ip_forward

iptables –t nat -A PREROUTING -i LocalInterface -p tcp -m tcp --dport 80 -j REDIRECT --to-ports SquidPort

iptables –t nat –A POSTROUTING –o ExternalInterface –j MASQUERADE

and write transparent in file squid.conf in front http_port

but with same configuration failed to configure in "squid-2.6.STABLE6-5.el5_1.3"
is it difference between the two and how can i install on the second one.
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: transparent proxy for squid-2.6.STABLE6-5.el5_1.3

Post by LinuxFreaK »

Dear Burhan,
Salam,
Burhan wrote:Hi i have configured transparent proxy for squid-2.6.STABLE6-3.el5
with the following configuration

echo "1" > /proc/sys/net/ipv4/ip_forward

iptables –t nat -A PREROUTING -i LocalInterface -p tcp -m tcp --dport 80 -j REDIRECT --to-ports SquidPort

iptables –t nat –A POSTROUTING –o ExternalInterface –j MASQUERADE

and write transparent in file squid.conf in front http_port

but with same configuration failed to configure in "squid-2.6.STABLE6-5.el5_1.3"
is it difference between the two and how can i install on the second one.
What is the error you are getting ?

Best Regards.
Farrukh Ahmed
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Post by x2oxen »

that should be the same way... can you show your access.logs
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
nasacis
Battalion Havaldaar Major
Posts: 269
Joined: Sat Dec 13, 2003 3:58 pm
Location: Faisalabad
Contact:

Post by nasacis »

what is the error in browser?
Nafees Ahmed
Cell: +92.300.8653568
UAN: 041-111432432
Nexlinx Faisalabad
www.nexlinx.net.pk
nafees29@gmail.com
syedbilalmasaud
Naib Subedar
Posts: 347
Joined: Thu Aug 18, 2005 9:25 am
Location: Attock
Contact:

Post by syedbilalmasaud »

from his post what i can assume that his squid is not starting properly after making configuration

please check weather your squid is starting or not - if it gives you an error paste here
Cheers :)

:D B I L A L :D
Post Reply