LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-26-2013, 07:01 AM   #1
LeoPap
Member
 
Registered: Jan 2013
Distribution: Centos
Posts: 99
Blog Entries: 1

Rep: Reputation: 10
Transparent proxy using squid


Hello all,

I run CentOS on my Dell Precision system and i have already install a caching DNS server. Although the results wasn't what i was expecting, so i think that it is time to install a transparent proxy, using squid.

Is there any useful how to?? Has someone tested it?

Cheers,
Leo
 
Old 02-26-2013, 07:31 AM   #2
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Rep: Reputation: 5
Might this help:

http://www.cyberciti.biz/tips/linux-...uid-howto.html

I'm no expert myself..............


Tom
 
Old 02-26-2013, 11:20 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
OK, can we take this piece by piece:

Quote:
Originally Posted by LeoPap View Post
i have already install a caching DNS server. Although the results wasn't what i was expecting
Which caching DNS server, in what way aren't the results not what you were expecting, and what testing have you done? (Like, did you use some specific DNS testing app, what did it show. What did you do about selecting upstreams, what do you actually see that is not what you want?)

Quote:
Originally Posted by LeoPap View Post
so i think that it is time to install a transparent proxy, using squid.
Maybe, but what was your logic for deciding that transparent was the only way to go? Probably doesn't make much difference, but it would be nice to know.

Quote:
Originally Posted by LeoPap View Post
Is there any useful how to??
Loads of stuff around. Almost any search on terms like "squid" and "tutorial", "how-to" or "configuration" will throw up some useful stuff. Probably with quite a bit of useless stuff, too.

Quote:
Originally Posted by LeoPap View Post
Has someone tested it?
Yes. There was a thread on this very site a few weeks ago comparing Squid against Polipo (squid lost in that informal test, btw). If I recall, the thread starter was TobiSGD. But apart from that, there are quite a few other sets of test results available. But beware, as with all benchmarking, the results that you get are very heavily dependant on exactly what you test.
 
Old 02-26-2013, 03:48 PM   #4
LeoPap
Member
 
Registered: Jan 2013
Distribution: Centos
Posts: 99

Original Poster
Blog Entries: 1

Rep: Reputation: 10
Hello,

I install caching dns on my Centos and then I use the ip if the Centos server as a DNS in my windows system.
I done that in order to get faster response time when browsing the web.

Although as I already said above, I didn't saw a big difference, so I stop using it.

Today a friend told me that if I install a transparent proxy server ( he suggested squid) I will huge difference on my browsing speed.

So you suggest using polio?
 
Old 02-26-2013, 04:44 PM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by LeoPap View Post
Hello,

I install caching dns on my Centos...
So, thanks for not answering that question.

Quote:
Originally Posted by LeoPap View Post
.. and then I use the ip if the Centos server as a DNS in my windows system...
The simplest change I can make to that so that it makes sense is if -> of . That means that this system is using a windows PC as a client, and that does make a difference to how things work.

Quote:
Originally Posted by LeoPap View Post
Today a friend told me that if I install a transparent proxy server ( he suggested squid) I will huge difference on my browsing speed.
I don't suppose that you will see a huge difference in your browsing speed generally, but that does depend on some other details of your use case. In general, most people do not see much difference, although some scenarios are more favourable than others. The best that I would hope for is a modest improvement.

Had your objective been to reduce your data consumption, then it would probably have been easier to be positive about the prognosis. And, even if not that, there might have been some mileage from the increased flexibility, and, eg, the blocking options, but it seems that you don't want any of that.

Quote:
Originally Posted by LeoPap View Post
So you suggest using polio?
Polio is really quite nasty, so I'll assume that was a typo, rather than an attempt to be funny about a tragic condition.

Polipo is simpler than squid (many fewer options and modes of operation) and probably has a higher chance of producing some speed-up than squid. I think that it has a better chance of ultimately being successful, but getting useful tutorials and optimisation suggestions is more difficult, as it is much less used. OTOH, being simpler, there is probably a much better chance that it "just works" without much optimisation.
 
Old 02-27-2013, 01:57 AM   #6
LeoPap
Member
 
Registered: Jan 2013
Distribution: Centos
Posts: 99

Original Poster
Blog Entries: 1

Rep: Reputation: 10
Hello and thank you for your e-mail.
Sorry for the typo mistakes but i was replying from my iPhone.


I check out the website or polipo and i didn't understand many things! Do you have any easier how to guide?
 
Old 02-28-2013, 06:56 AM   #7
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Rep: Reputation: 5
I have never used CentOS but after a few mins of Googling I found a very basic snippet of setup instructions (it may or may not be of use and doesn't tell you how to make any custom configurations):

$ sudo yum install polipo"
REPORTS: polipo x86_64 1.0.4.1-2.el6 @epel
$ sudo service polipo start
REPORTS: /usr/bin/polipo -c /etc/polipo/config

https://wiki.centos.org/modules/newb...40283&forum=59
 
Old 03-03-2013, 05:45 AM   #8
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by LeoPap View Post
Hello and thank you for your e-mail.
Sorry for the typo mistakes but i was replying from my iPhone.


I check out the website or polipo and i didn't understand many things! Do you have any easier how to guide?
See if these HOW-TOs help you out.

http://www.cyberciti.biz/tips/linux-...uid-howto.html
http://blog.up-link.ro/how-to-instal...x-and-freebsd/
 
Old 12-02-2013, 07:09 AM   #9
LeoPap
Member
 
Registered: Jan 2013
Distribution: Centos
Posts: 99

Original Poster
Blog Entries: 1

Rep: Reputation: 10
Hello guys,

Has anyone configured Squid as a transparency proxy server?
Can someone please send the squid.conf file? ( configured! )


Thank you!
Cheers,
Leo
 
  


Reply



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
[SOLVED] Transparent proxy squid 3.1 uk.engr Linux - Newbie 13 07-03-2012 07:42 AM
Squid transparent proxy astalavista2000 Linux - Server 3 11-20-2011 07:40 PM
Squid as a transparent proxy kemplej Linux - Software 2 12-08-2004 05:00 PM
Squid Transparent Proxy 1jamie Linux - Security 7 09-26-2003 06:09 AM
squid transparent proxy...... hitesh_linux Linux - Networking 1 06-13-2003 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:46 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
Open Source Consulting | Domain Registration