[squid-users] use tcp_outgoing_address based on incoming port connection
I have the following configuration that makes incoming connections coming to port 8000 to use the another proxy, in this case proxy8000 http_port 8000 name=port_8000 acl port_8000_acl myportname port_8000 always_direct deny port_8000_acl never_direct allow port_8000_acl cache_peer 11.12.12.12 parent 20006 0 no-query default name=proxy8000 cache_peer_access proxy8000 allow port_8000_acl cache_peer_access proxy8000 deny all But I want to modify it so I can tell it which local interface to use based on the incoming port. Right now I'm using the following in another Squid configuration, but it's not based on incoming port. It does it for all connections tcp_outgoing_address 172.16.11.106 # <-- that's my local ip Does tcp_outgoing_address have the same ability as cache_peer in my case? ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
[squid-users] IP auth, simple username/pass authentication, if ip not authorized?
Right now I'm using Squid with IP based authentication. Would it be possible to also allow the user access if their IP is not allowed, but they provide username/pass? ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] 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@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] Proxy through another proxy possible?
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 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@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
[squid-users] Proxy through another proxy possible?
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? ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users