LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-14-2006, 01:03 AM   #1
sunethj
Member
 
Registered: Nov 2006
Posts: 97

Rep: Reputation: 16
traffic spliiting using squid


we are using squid proxy server for web access and we need to access ONE particular site using another proxy server (squid running on port 8080) which is not under our control.

So i need to split traffic using our squid so traffic for other proxy will be redirected to that proxy (port 8080) and other traffic directly to the net via the router.

Please help me on this.

Thanks in advance.
 
Old 12-14-2006, 01:59 AM   #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
check out the cache_peer_domain option, which forces certain domains via another proxy really easily.

#define a parent proxy
cache_peer 10.10.10.11 parent 8080 0 no-query proxy-only
# set parent to be used for *.example.com
cache_peer_domain 10.10.10.11 .example.com
 
Old 12-14-2006, 02:23 AM   #3
sunethj
Member
 
Registered: Nov 2006
Posts: 97

Original Poster
Rep: Reputation: 16
it works

it works. Thanks
 
Old 12-14-2006, 02:25 AM   #4
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
no probs.



Quote:
Originally Posted by thinker
I have network computer lab.
all my computer labs system ( client ) have the gateway is my proxy server where donwload and some website are blocked for security purpose.
my proxy server working as gateway and proxy ( cache ).

but when I use the globle proxy IPs in Internet Exlorer. like 169.229.50.10. I can Open all website that I blocked in proxy. How I can stop them if they using any globle Ips of proxy.

Any solution .. ?
yes, please don't hijack other peoples threads.
 
Old 12-14-2006, 08:33 AM   #5
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally Posted by thinker
I have network computer lab.
all my computer labs system ( client ) have the gateway is my proxy server where donwload and some website are blocked for security purpose.
my proxy server working as gateway and proxy ( cache ).

but when I use the globle proxy IPs in Internet Exlorer. like 169.229.50.10. I can Open all website that I blocked in proxy. How I can stop them if they using any globle Ips of proxy.

Any solution .. ?
That means; you proxy server box is not only acting as a proxy server but a router as well. By the way, Do you specify the proxy server address manually in your clients browser or do you run it in a transparent mode ?
 
  


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
Need help with Squid and capturing url traffic? atl02wrx Linux - Software 5 06-25-2005 05:36 PM
IP tables / squid incoming traffic xilace Linux - Software 5 10-25-2004 01:38 PM
squid traffic control tarak4u Linux - Networking 0 03-17-2004 02:52 AM
Help with Squid and traffic shaping dexteroo Linux - Networking 0 10-07-2003 03:43 PM
Squid split traffic proxy stonelee Linux - Networking 0 09-08-2003 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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