Re: [squid-users] How to set up a reverse proxy using squid for a simplified scenario?

2018-02-12 Thread Peng Yu
wrote: > On 11/02/18 06:33, Peng Yu wrote: >> Hi, >> >> I see the following blog about setting up a reverse proxy using squid. >> >> http://derpturkey.com/squid-as-a-reverse-proxy/ >> >> But there seem to be more configurations than what I need. >

Re: [squid-users] How to set up a reverse proxy using squid for a simplified scenario?

2018-02-10 Thread Peng Yu
> What is your reason for wanting "no restrictions"? The proxied servers are behind a firewall already, which protect them from any unwanted access. Is this reason strong enough to have no restrictions set? -- Regards, Peng ___ squid-users mailing

[squid-users] How to hide client info?

2018-02-10 Thread Peng Yu
Hi, I use squid to set a proxy. But the following output shows my local ip address besides the squid proxy ip. Is there a way to let httpbin.org only be aware of the squid_proxy but not my local ip? $ http_proxy=squid_proxy:3128 wget -qO- http://httpbin.org/get { "args": {}, "headers": {

[squid-users] How to set up a reverse proxy using squid for a simplified scenario?

2018-02-10 Thread Peng Yu
Hi, I see the following blog about setting up a reverse proxy using squid. http://derpturkey.com/squid-as-a-reverse-proxy/ But there seem to be more configurations than what I need. For example, for the following line, I don't need to restrict the access to a specific domain. http_port 80

[squid-users] Can reverse_proxy be set as a rotating proxy?

2018-02-10 Thread Peng Yu
Hi, I am not sure what the policy of reverse proxy is in squid. Using the notation in this figure, can squid on "proxy" be set to use "web servers" one after another for each request (i.e., rotating)? Thanks. https://upload.wikimedia.org/wikipedia/commons/6/67/Reverse_proxy_h2g2bob.svg --

[squid-users] How to combine two proxies into one?

2018-02-14 Thread Peng Yu
Hi, Here are the conf files for two proxies. The first is a reverse proxy (proxied on server1 and server2) and the second is a forward proxy. Is there a way to combine the two into one (supporting both 3129 and 3128)? Thanks. $ grep -v '^#' squid.conf|grep -v '^$' acl localnet src 10.0.0.0/8

Re: [squid-users] How to combine two proxies into one?

2018-02-16 Thread Peng Yu
On Thu, Feb 15, 2018 at 3:31 AM, Amos Jeffries <squ...@treenet.co.nz> wrote: > On 15/02/18 17:00, Peng Yu wrote: >> Hi, >> >> Here are the conf files for two proxies. The first is a reverse proxy >> (proxied on server1 and server2) and the second is a forward pr

[squid-users] Can cache_peer be localhost?

2018-02-16 Thread Peng Yu
Hi, I have the following configuration. When I access port 3129 and it is localhost's turn in the round-robin, then the access will fail. Is there a way to make it work? $ grep -v '^#' squid.conf|grep -v '^$' acl localnet src 172.16.0.0/12# RFC1918 possible internal network acl SSL_ports port

Re: [squid-users] Can cache_peer be localhost?

2018-02-17 Thread Peng Yu
> client -> Squid (3129) -> Squid (3128) -> Squid (3128) ... repeat forever. Is there a way to configure squid so that anything goes to 3128 will directly go outside of the machine instead of going back to 3128 again, yet still let 3129 be forwarded to the local 3128 in the round-robin fashion?

[squid-users] Where squid deamon is stored?

2018-02-18 Thread Peng Yu
I don't find squid3 in /etc/init.d. Does anybody know where the deamon script is stored? -- Regards, Peng ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users