LinuxQuestions.org
Help answer threads with 0 replies.
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 03-07-2007, 10:22 PM   #1
pankajkarde
Member
 
Registered: Jan 2007
Posts: 41

Rep: Reputation: 15
Question squid(proxy) server


hi friends,
i have installed REDHAT centos on my server.now i have setup a squid-2.5-STABLE as a proy server on it.now we have a local area network in which their are 15 machines are present.
i have a linksys router through which internet connection is given to all machines.client use to access internet by putting gateway as the router ip(192.168.0.4) in their network properties.
the private ip given to this router is 192.168.0.4 and the ip address of my squid server is 192.168.0.5.
now it is expected that any request to the internet should forcefully go through proxy server without any proxy server setting in the internet properties of client machine.

will you please help me to solve this problem?
 
Old 03-08-2007, 12:01 AM   #2
downforce
LQ Newbie
 
Registered: Mar 2007
Location: Perth, AUS
Distribution: Ubuntu + Enlightenment
Posts: 2

Rep: Reputation: 0
What you are looking for is Transparent proxying (http://tldp.org/HOWTO/TransparentProxy.html), however for this to work all the traffic has to go through the squid machine first.

You could look into making the linux box the gateway and it sends all traffic to the router. In my setup, my linux box also does DNS caching/DHCP serving so the router effectively becomes an ethernet modem.

At least this is how I've set mine up and it works well.

Hope this helps.
 
Old 03-08-2007, 02:04 AM   #3
Au_Squirrel
Member
 
Registered: Nov 2005
Location: Brisbane AU
Distribution: FC29
Posts: 52

Rep: Reputation: 17
I have also done the same and it works well. Just ensure that your IP table rules are configured correctly.
 
  


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
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
proxy server using squid j0hnd0e Linux - Server 1 10-19-2006 12:05 AM
Squid Proxy server help win2Linux Linux - Server 3 09-03-2006 09:53 AM
squid proxy server msound Linux - Networking 4 06-01-2005 11:59 AM
squid proxy server cmardhekar Linux - Newbie 0 09-29-2001 05:34 AM

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

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