Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-07-2007, 10:22 PM   #1
Registered: Jan 2007
Posts: 41

Rep: Reputation: 15
Question squid(proxy) server

hi friends,
i have installed REDHAT centos on my i have setup a squid-2.5-STABLE as a proy server on 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( in their network properties.
the private ip given to this router is and the ip address of my squid server is
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
LQ Newbie
Registered: Mar 2007
Location: Perth, AUS
Distribution: Ubuntu + Enlightenment
Posts: 2

Rep: Reputation: 0
What you are looking for is Transparent proxying (, 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
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.


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 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 > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration