Help answer threads with 0 replies.
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 04-12-2010, 02:15 PM   #1
LQ Newbie
Registered: Sep 2005
Location: Ontario, Canada
Distribution: Fedora 8
Posts: 21

Rep: Reputation: 0
Squid Redirect specific domain to an Secondary (External) Squid Proxy


I am attempting to get squid to forward only specific domains "*" to an external, secondary squid proxy, while leaving all other URLs alone.

I currently have two routes my ISP assigned IP address (eth1) and a VPN (tun0: * is to go to a proxy on the other side of the tunnel.

Upon searching, all I can find are re-directors that will re-write URLs.

Can anyone point me to some documentation, or 'howtos' to help with this?

Old 04-13-2010, 08:39 AM   #2
Registered: Sep 2007
Distribution: Debian Lenny
Posts: 61
Blog Entries: 2

Rep: Reputation: 19
I wrote an small how to, it helps you to redirect all the http querys to another proxy, you can review it here

Im sure you will be able to redirect specific source or destinations if you use access lists or maybe a diferent proxy instance and redirect using iptables.
Old 04-20-2010, 12:50 PM   #3
LQ Newbie
Registered: Sep 2005
Location: Ontario, Canada
Distribution: Fedora 8
Posts: 21

Original Poster
Rep: Reputation: 0
Sorry for the delay in response...

Thanks for the update. I will read up on access lists and see what can be done.


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
Using iptables to bypass squid proxy for a specific domain jcopley Linux - Security 4 05-26-2015 12:38 PM
domain redirect squid sunlinux Linux - Server 1 03-15-2010 02:26 AM
How to redirect Squid Traffic to Another Proxy Server matrix_aash Linux - Networking 11 02-16-2010 11:52 AM
squid redirect url to different proxy aeby Linux - Software 0 08-13-2009 08:37 AM
how to redirect squid traffic to a specific nic card scream Linux - Newbie 0 03-08-2009 03:57 AM > Forums > Linux Forums > Linux - Server

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