LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



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

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


Hello,

I have three systems where I'm running apache web server on 192.168.0.26 and I have another system 192.168.0.25 running squid proxy server and I have 192.168.0.20 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 192.168.0.20(firewall) and has the nameserver resolve to 192.168.0.25 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.

Thanks
 
Old 05-27-2009, 01:31 AM   #2
emgee3
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 192.168.0.25/192.168.0.26

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


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
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 06:55 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration