LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2011, 11:12 AM   #1
sanjibgupta
Member
 
Registered: Apr 2003
Location: Kolkata
Posts: 215

Rep: Reputation: 30
Squid problem


Hi
I have an Rhel 5 server masquerading by Local Lan to Internet.
I have configured transparent squid and redirect the port 80 through squid port 3128 from iptables.
It is working but getting very very slow. Moreover I cannot log into yahoo mail and google mail but if I configure Proxy setting in browser I can log into yahoo mail or gmail and it is faster. And now if I remove the redirect from the iptables I can no longer go to internet from the browser(apart from browser configured with proxy settings) though trace route or ping works.
Please advice me what is wrong
Sanjib gupta

Last edited by sanjibgupta; 09-23-2011 at 11:13 AM.
 
Old 09-24-2011, 11:25 AM   #2
ShanxT
Member
 
Registered: Apr 2007
Location: India
Distribution: Ubuntu 10.04, RHEL/Centos 5.x, Knoppix
Posts: 41

Rep: Reputation: 3
From my experience I have seen that setting squid as a transparent proxy causes a few problems. It is better to directly configure it in the browser and remove the transparent setting in squid.conf. Although if you need to use the transparent settings AND want squid type filtering, implement squid with dansguardian.

When you remove the redirection in iptables, the connection to the internet doesn't work simply because I'm guessing that all out going connections on port 80 are blocked. It works in the browser after you've set the proxy because all the requests from the browser are then directed to the proxy, which then fetches pages from the internet.
 
Old 09-24-2011, 11:50 AM   #3
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
search squid threads with my registered name here on linuxquestions you will get many thrads. I've wandered allot here for the same problem have a look at my blog post that might help.

Transparent squid doesn't allow you to authenticate https. so better don't use it.

cheers!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with configuration of Squid server behind a squid ajitup Linux - Server 13 08-12-2009 10:55 PM
Squid Problem (squid restrict some trusted sites.). jpmaxyusuf Linux - Networking 3 01-01-2009 11:33 AM
problem in squid DrTuN Linux - Networking 5 09-01-2008 12:27 PM
squid problem jocast Linux - Software 2 03-07-2006 09:50 AM
squid problem mchitrakar Linux - Networking 4 06-07-2004 12:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration