LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-29-2007, 08:48 AM   #1
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Rep: Reputation: 16
need help with setup of a squid server..


I'm in the process of setting up a squid server, but I want to do it without having to go to each individual computer, and setting up the browser to use the proxy server....does anyone know what could be the physical setup for this?...this is for a small home office of 10 computers

thanks in advance
 
Old 12-29-2007, 03:22 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Without changing *ANYTHING* on the client at all, you'd need a transparent server setup (save for anything not even more complex) which would see any web traffic is it passes through. This naturally requires significant infrastructure configuration and removes lots of potential benefits...

http://www.faqs.org/docs/Linux-mini/...rentProxy.html

It is actually *possible* that you might be able to use wpad configuration on the clients, assuming that they are already set up to "automatically detect" and all that... that'll require local DNS and a small web server but would provide a full conventional proxy to each client. have a google for wpad (sadly the w does stand for windows but hey...)

Last edited by acid_kewpie; 12-29-2007 at 03:24 PM.
 
Old 12-30-2007, 09:55 AM   #3
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Original Poster
Rep: Reputation: 16
I think the best way to do this is to change the gateway ip given by dhcp from the router to my squid server, it receive all http request, and then do a redirection on the server from port 80 to 3128, I think that'll do it

thanks

Last edited by Tinkster; 03-27-2008 at 09:42 PM. Reason: shameless plug removed
 
Old 12-30-2007, 10:57 AM   #4
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Original Poster
Rep: Reputation: 16
[QUOTE=mia_tech;3005683]I think the best way to do this is to change the gateway ip given by dhcp from the router to my squid server, it receive all http request, and then do a redirection on the server from port 80 to 3128, I think that'll do it

thanks



well I think this setup will only work for http connections, but not for any other application, email etc...b/c it will be sending the connection to the squid server, and since that server only has on interface it can not act as a router....correct me if I'm wrong

thanks
___________________
tips & tutorials...
http://www.pcteckonline.org

Last edited by Tinkster; 03-27-2008 at 09:43 PM. Reason: shameless plug removed
 
Old 12-30-2007, 11:11 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you appear to be talking to yourself.... and what you suggested is exactly what i suggested, a transparent proxy.
 
Old 12-30-2007, 12:21 PM   #6
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by acid_kewpie View Post
you appear to be talking to yourself.... and what you suggested is exactly what i suggested, a transparent proxy.
I'm kind of confuse as to the infrastructure needed for this setup...my squid server has only one interface and my router is syslink, and there's no way to redirect internal traffic to the squid server which is inside my network...any other ideas

thanks

Last edited by Tinkster; 03-27-2008 at 09:43 PM. Reason: shameless plug removed
 
Old 12-30-2007, 03:02 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
these things can depend how "professional" a solution you want and are happy with. you could use the server as the default gateway, enable routing on it and just have two seperate neworks on the single nic. no need for anything fancy or new gear. an "insecure" and dubious design in an enterprise network but your scenario seems to be fairly basic, so not a huge concern.

you can see though that this sort of architecture puts a requirement on that server for *ALL* internet traffic, not just web, which is a danger. if you can, configure the clients with a proxy.pac file or something, and leave the physical architecture untouched.

Last edited by acid_kewpie; 12-30-2007 at 03:03 PM.
 
  


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: special configuration for remote Squid server hamish Linux - Software 0 12-06-2005 03:58 PM
proxy server setup with squid on fedora core 3 Jabber Linux - Networking 1 10-27-2005 02:31 AM
Setup Squid as proxy-server ONLY hct224 Linux - Newbie 1 09-18-2005 12:57 PM
Please help me on my squid 2.5 setup wennie Linux - General 8 11-04-2004 11:17 AM
squid issues or what? - LAN backup server setup problem htm Linux - Networking 2 03-18-2004 09:10 AM

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

All times are GMT -5. The time now is 09:05 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