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

Taking care of your Linux box.

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.
Burhan
Lance Naik
 
Posts: 32
Joined: Mon Oct 01, 2007 1:49 pm
WLM: burhan_rabbani79@hotmail.com
Yahoo Messenger: burhan_rabbani79@hotmai.com
AOL: Lahore

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
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

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
x2oxen
Major General
 
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Website: http://usmanpk.com
WLM: x2oxen@hotmail.com
Yahoo Messenger: x2oxen
Location: Faisalabad

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
nasacis
Battalion Havaldaar Major
 
Posts: 269
Joined: Sat Dec 13, 2003 3:58 pm
ICQ: 22342780
Website: http://www.homepages.com.pk/nafeesahmed
WLM: nafees21
Yahoo Messenger: n_ahmad.rm
Location: Faisalabad

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
syedbilalmasaud
Naib Subedar
 
Posts: 347
Joined: Thu Aug 18, 2005 9:25 am
WLM: bm1984@hotmail.com
Yahoo Messenger: syedbilalmasaud@yahoo.com
Location: Attock


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 1 guest

cron