Search squid archive

Re: Proxy through another proxy possible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

If the snipper works for you then you should be able to use a simple ACL that will pass all traffic of a certain http_port to a specific proxy.
However depends on the scenario there are couple things to consider in terms performance of this system.

All The Bests,
Eliezer

----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer@xxxxxxxxxxxx


-----Original Message-----
From: squid-users <squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of xpro
Sent: Sunday, April 8, 2018 16:07
To: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Proxy through another proxy possible?

Thank you. I did get it to work with snippet below

cache_peer myproxy.com parent 3114 0 no-query default
never_direct allow all


can you tell me how I can assign different ports to different outgoing 
proxies?


On 04/07/2018 02:30 AM, Amos Jeffries wrote:
> On 07/04/18 18:02, xpro wrote:
>> Would it be done like below?
>>
>> http_port 3001
>> acl port1 myport 3001
>> tcp_outgoing_address myotherproxy.com:3114 port1
>>
>>
>> I want anyone connecting to my proxy using port 3001, to use the the
>> proxy server on myotherproxy.com:3114
> No. tcp_outgoing_address is the IP your Squid uses on its outgoing TCP
> connections.
>
> cache_peer is for configuring destination details about any specific
> peer (upstream server or proxy) to relay messages through.
>   see <https://wiki.squid-cache.org/Features/CacheHierarchy>
>
> Amos
>
>
>>
>> On 04/07/2018 01:05 AM, Amos Jeffries wrote:
>>> On 07/04/18 11:34, xpro wrote:
>>>> I'm not sure if Squid is the right tool for this. I'm trying to achieve
>>>> the following.
>>>>
>>>> I would have access to some exclusive proxies, but I would like for a
>>>> limited amount of people to use these proxies without getting the
>>>> original proxy IP. I want them to go through my proxy server and then my
>>>> proxy server would forward them to the proxy I use.
>>>>
>>>>
>>>> Would this be possible with Squid?
>>> Of course. I'm not exactly clear on what you mean by original or
>>> exclusive proxies, but HTTP and Squid are certainly able to chain.
>>>
>>> Amos
>>> _______________________________________________
>>> squid-users mailing list
>>> squid-users@xxxxxxxxxxxxxxxxxxxxx
>>> http://lists.squid-cache.org/listinfo/squid-users
>> _______________________________________________
>> squid-users mailing list
>> squid-users@xxxxxxxxxxxxxxxxxxxxx
>> http://lists.squid-cache.org/listinfo/squid-users
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux