Questions tagged [squid]

Squid is a FOSS package licensed under the GNU GPL and is primarily used as a web proxy server and cache.

Squid is a FOSS package licensed under the GNU GPL primarily used as a web proxy server and cache.

In addition to its primary usages for web proyying and caching, it supports FTP and has limited support for several other protocols, including TLS, SSL, HTTPS and Gopher.

It has a wide variety of uses, from speeding up a web server by caching repeated requests (reverse proxy); to caching web, DNS and other computer network lookups for a group of people sharing network resources (regular proxy); to improving security by filtering traffic (layer 7 firewall).

Squid's homepage is here, and its Wikipedia entry is here.

1400 questions
0
votes
1 answer

A proxy forward to redirect some calls to avoid crossing the proxy. Only redirect proxy forward

I'm trying to redirect with 301 some https calls with some proxy forward. The idea is not to go through the proxy, but to return a 301 redirect with the new location. I've got two cases: https://example.com/dummy/copy/this/path ->…
albertoiNET
  • 131
  • 5
0
votes
2 answers

How to show an internal static page to IP addresses list?

I have a ubuntu 22.04 server, a list of ip addresses of users on my local network and I want to redirect http/https traffic from this list to a local informative html page. Similar to how a hotspot would. I have tried with apache2, squid, wpad (252…
acgbox
  • 376
  • 1
  • 5
  • 21
0
votes
1 answer

Squid in docker returns 502 but works when run on host

I'm using the same config for squid 5.6 that runs on a host machine and in docker. When I run it on the host (Ubuntu 22.10) it works just fine but when I run it from ubuntu/squid image I get 502 bad gateway error. Squid config: acl localnet src…
chingis
  • 243
  • 3
  • 14
0
votes
1 answer

Squid + OpenVPN : 403 Forbidden

I need to have a proxy server for an already configured and working OpenVPN server. So I install Squid 5.2 on Ubuntu 20.04. To test, I changed the following line in the /etc/squid/squid.conf file and restarted the squid.service: http_access deny…
Omid Shojaee
  • 183
  • 8
0
votes
1 answer

How to configure a forward proxy to keep a historical mirror of the websites accessed?

I'm scraping information regarding civil servants' calendars. This is all public, text-only information. I'd like to keep a copy of the raw HTML files I'm scraping for historical purposes, and also in case there's a bug and I need to re-run the…
Vítor Baptista
  • 221
  • 2
  • 5
0
votes
0 answers

A web server that takes contents from another one, and serves it with slightly modified HTML

I have a web site a.com (please note: I own and run it). I want to be able to run a slightly modified version of it on b.com . The contents would be identical; however, I would apply some minor modifications to the HTML. Basically, when somebody…
Merc
  • 789
  • 1
  • 6
  • 16
0
votes
0 answers

Squid and redirect traffic

I need to set address of my proxy(squid server) and related port to get traffic from FreeBSD or Linux in my browser box. I have Internet in my squid box. How do I configure my squid server?
PersianGulf
  • 602
  • 8
  • 21
0
votes
0 answers

How to apply delays pool on this case

I have a squid proxy server with ncsa_auth, with 2 user´s groups, and one domain that doesn't require authentication. The link to internet it´s only of 2 Mbps. How do I apply delay_pools to optimize browsing, assigning 70 KB/s to users_basic_access…
Francisco
  • 129
  • 6
0
votes
0 answers

Squid Get allowed url List from external http server

I have a question about squid, is it possible to retrieve allowed domain url/ips list from an external http server? The thing is I have many squid servers and i would like to host the allowed domains and ips list on a http server, which would give…
0
votes
1 answer

Squid Proxy always 403

I have been trying to setup Squid proxy for a good 2 hours now, I dont want any authorizations or any blacklists. I just want all requests to get accepted. I have already tried http_access allow all, acl all src all and a lot of other methods…
0
votes
0 answers

docker + squid and 32 dedicated IP - how best to set it up?

Today I bought 32 dedicated IP to my ovh server. I added all IP to my server by this tutorial: https://docs.ovh.com/us/en/public-cloud/configure_a_failover_ip/ At the moment I want run container with squid, and I don't know how add several dedicated…
mxcdh
  • 113
  • 2
0
votes
0 answers

squid proxy with openvpn config return HTTP proxy returned Fobidden status code

I have installed squid proxy on server1(OS=centos7 & IP=y.y.y.y & PROXY_PORT=3333) and openvpn server on server2(OS=centos7 & IP=x.x.x.x ).when client wants to connect to openvpn through proxy, gets this error: "on y.y.y.y:3333 HTTP proxy…
0
votes
0 answers

Squid refreshing freshness even with `override-expire`

Goal: for the pattern given, cache the response for a given time, no matter what. So far my squid.conf looks like this: refresh_pattern -i \.git/info/refs 3600 100% 3600 ignore-reload ignore-no-store ignore-private override-expire…
mhutter
  • 111
  • 4
0
votes
0 answers

Squid Fowrard Proxy In Docker takes long time to resolve NS addresses

I have the following problem with my squid proxy which acts like a forward proxy to the official company proxy (148.42.10.11) to connect our floor network servers to the outside world. my squid.conf looks like this to acl lan srv…
bavuk
  • 1
  • 2
0
votes
0 answers

How to config openvpn or squid for chaining?

hi guys I am not professional in devops and network. What I need is that connect to internet through two vps. Imagine I have client and first vps in italy and second vps in german. client can connect to first vps and first vps can connect to seccond…
milad_vayani
  • 101
  • 1