Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-13-2010, 05:22 AM
|
#1
|
|
Member
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166
Rep:
|
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 
|
|
|
|
05-13-2010, 09:16 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,676
|
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.
|
|
|
|
05-13-2010, 01:12 PM
|
#3
|
|
Member
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
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 ???
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:36 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|