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

Taking care of your Linux box.
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

Postby Burhan » Fri Mar 20, 2009 6:13 pm

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

Postby LinuxFreaK » Sat Mar 21, 2009 4:35 pm

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:

Postby x2oxen » Sat Mar 28, 2009 11:39 am

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:

Postby nasacis » Sat Apr 11, 2009 3:29 pm

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:

Postby syedbilalmasaud » Mon May 11, 2009 11:42 am

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


Return to “Administration”

Who is online

Users browsing this forum: No registered users and 1 guest