LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-13-2010, 05:22 AM   #1
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Rep: Reputation: 15
Cool Automatic Squid


Hola,
i need to ask you for something in my network, first i have a server installed with Squid package and the proxy is already activated, but i need to force my clients to use my squid automatically without they know or make any settings yet.
I think the best solution is to use DHCP, but i don't know how ...
Thanks in ADVANCE
 
Old 05-13-2010, 09:16 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
The simplest solution is to make it transparent and make the traffic naturally flow through it to reach the internet. This is pretty crude though, and I really wouldn't recommend it, despite the genuinely zero effort required on the client side. What you seem to be alluding to is what M$ call WPAD - Web Proxy Auto Discovery, which can be done through DHCP, but does require IE to have the "auto discover" option for proxying, and similar for Firefox. the DHCP route for it, and there are a few different ways, is not too nice, I'd recommend the DNS version, where with the auto-discovery options on the client, it will try to grab "http://wpad/wpad.dat" or "http://wpad.mydomain.com/wpad.dat" or a number of other good guesses to hit a web server which will then pull back a proxy configuration file for the browser. The DHCP option basically just provides that url in a DHCP option, but it's much less supported or standardized AFAIR. So just ensure that you have a DNS alias which points to a web server which will fulfil that request and you're largely done.
 
Old 05-13-2010, 01:12 PM   #3
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie View Post
The simplest solution is to make it transparent and make the traffic naturally flow through it to reach the internet. This is pretty crude though, and I really wouldn't recommend it.
Really, thanks for your reply, but i need to know, why it is not recommended ???
and how can i do this ???
 
  


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
Squid Redirect specific domain to an Secondary (External) Squid Proxy Zxarr Linux - Server 2 04-20-2010 12:50 PM
Squid automatic/scheduled cache clear sachin151080 Linux - Server 1 11-09-2009 12:18 PM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard laxmantsharma Linux - Software 1 02-24-2009 06:02 AM
Automatic switching of squid to a second internet link? dsids Linux - General 2 07-05-2007 12:55 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM


All times are GMT -5. The time now is 02:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration