Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-26-2009, 04:16 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 5

Rep: Reputation: 0
redirect all http requests to a different squid proxy server


I have three systems where I'm running apache web server on and I have another system running squid proxy server and I have in which firewall/shorewall is running.
And a network of systems 192.168.0.X

All the users in this network are having the gateway as and has the nameserver resolve to where the dns and the mentioned squid proxy are running.

Now my problem is that all the users of the network are able to open the restricted sites by making the option No Proxy selected through the browsers.

So to make this also stop, Im thinking at the firewall system to redirect all the http requests made should be redirected to the squid proxy. Nothing but the firewall should only accept http requests coming from the
proxy only and not from any system.

Please I need some suggestion in doing this.

Old 05-27-2009, 01:31 AM   #2
LQ Newbie
Registered: May 2009
Posts: 14

Rep: Reputation: 1
Someone smarter than myself might be able to tell you how to do exactly what you're asking, but what you could do is block outgoing traffic on ports 80 (http) and 443 (https) when the originating ip address anything except

That would effectively prevent anyone from bypassing the proxy setting in their browser.


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
How to redirect Squid Traffic to Another Proxy Server matrix_aash Linux - Networking 11 02-16-2010 12:52 PM
Squid proxy server 2.5 not accessing http A Simple Noob Linux - Server 2 11-10-2007 04:52 PM
redirect some http requests to port 443. FMH Linux - Software 5 09-17-2007 09:19 AM
forward all HTTP requests to the proxy cccc Linux - Networking 2 10-01-2006 07:42 PM
capture http requests at squid ssharma_02 Linux - Networking 1 09-26-2004 10:04 AM

All times are GMT -5. The time now is 09:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration