Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
privoxy/squid & using different proxy for specific websites
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ryszardzonk
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 225
Location: Rzeszów, POLAND

PostPosted: Sat Oct 24, 2015 3:12 pm    Post subject: privoxy/squid & using different proxy for specific websi Reply with quote

My setup on the server consists of the following
- iptables redirection of traffic at port tcp 80 to local privoxy
- from privoxy it travels to squid
- from squid it goes to TOR

The problem is that using TOR (while having tor exit as well) makes several pages unreachable as their admins block traffic from tor nodes completely. The question is how to change that setup for the few required web pages to move traffic to them through some external proxy preferably using squid so those pages get cached as well.

I have read the squid configuration file for such an info including http://www.squid-cache.org/Doc/config/cache_peer/ and have not found such an information. There is plenty of information on specific host access, blocklists for sites and such but it is not what I am looking for :(

Thanks for help :!:
_________________
Sky is not the limit...
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Thu Oct 29, 2015 9:12 am    Post subject: Reply with quote

Would always_direct be an option?
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
ryszardzonk
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 225
Location: Rzeszów, POLAND

PostPosted: Sat Oct 31, 2015 6:20 pm    Post subject: Reply with quote

This seems as the good option but what I forgot to say is that I have all servers privoxy, squid and tor on the same local server with the same external ip which means not forwarding anything to TOR does not really change much as direct traffic from squid would not change the situation of it going out from the same IP hence the idea of forwarding traffic for few specific sites through different proxy on different ip adress
_________________
Sky is not the limit...
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Tue Nov 03, 2015 6:49 am    Post subject: Reply with quote

Then cache_peer_domain should fit your requirements.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum