Questions tagged [squid]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Use squid to forward http(s) requests based on domainname

I have installed 5 LXC containers in Proxmox. Each container has a Apache2 webserver up and running inside, pointing to a registered domain. So: container1 points to example1.com and has a local ip ...
kzpm's user avatar
  • 99
0 votes
0 answers
15 views

Should I use a Squid on the host machine or a virtual machine?

I have a server from SoYouStart and 32 failover IPs. I need these IPs for proxy (for scraping). Should I set up Squid on the host machine (Proxmox) or on a virtual machine like Ubuntu + Squid? I read ...
robokonk's user avatar
1 vote
1 answer
24 views

Rsyslog prepend text to messages in certain facility

OS: Debian 11 Rsyslog version 8.2102 Squid version 4.13 I am attempted to remote log squid logs without going through a file. I am using the following logging line for the store log in squid.conf: ...
ehammer's user avatar
  • 87
0 votes
0 answers
43 views

YouTube app not working with squid. What urls to bump exclude?

I have squid running with SSL Bump. The rest of the squid settings are basically defaults. I can access YouTube just fine from a browser but the android app is not working. I've already excluded ...
J'e's user avatar
  • 101
0 votes
0 answers
23 views

can't block a domain which is redirected by aws

This is my first year at university and This is also my first time trying to configure a server. They want me to block some https-web. I was able to block all websites with iptables except one. I'm ...
endiku's user avatar
  • 1
0 votes
0 answers
25 views

squid proxy random IP time change

I have included two IP addresses in squid with random TCP outgoing addresses but I need them as one IP will be active for 15 minutes and the other one will be active for 15 minutes and this will ...
Manojit Das's user avatar
0 votes
0 answers
37 views

Squid proxy: How to pass param to ext_sql_session_acl

I'm trying set external acl that check against database if authenticated user is overcuote, for that I try to configure acl rule as: external_acl_type CHECKOVERCUOTE ttl=3600 negative_ttl=10 children-...
Francisco's user avatar
  • 129
0 votes
0 answers
87 views

How squid whitelist domain + exclude certificate error domain

I have Squid Setup as a transparent HTTP+HTTPS proxy in my network, using SSL-Bump. I am having trouble with a handful of domains and those domains showing me cert errors while dumping and splicing, ...
sanket jaiswal's user avatar
-1 votes
1 answer
63 views

How to redirect network traffic using squid and nginx to outer page?

My school network blocks access to game pages, more exactly colonist.io. We have an access to linux server for learning purposes. I'd like to avoid blocking by setting up some kind of proxy server on ...
MijatTomić's user avatar
0 votes
1 answer
206 views

Squid configuration to forward another proxy for internet only

I just installed squid proxy server on Linux. I am now configurating squid . I have a set of ip defined for intranet. Internet are those that is not intranet. If destination is to internet, I want the ...
Hairy Ass's user avatar
0 votes
0 answers
55 views

How to see request headers sent by a squid proxy server?

The log file /var/log/squid/access.log doesn't show the headers. I looked around a lot and I didn't find anything helpful. Thanks in advance
Ahmed Mekky's user avatar
0 votes
0 answers
74 views

Squid Proxy Access logs not updating http_username when user uses different username

I'm using squid proxy on Ubuntu 22.04(LTS) with auth_param basic program /usr/lib/squid/basic_db_auth and it's working fine. I am able to add the users to the mysql database and able to use the proxy ...
Rhythm Bhiwani's user avatar
0 votes
1 answer
88 views

How to create Iptables rules for squid to only handle web traffic request

I'm using Squid Proxy for (DNS Filtering), I have configured squid proxy behind my GCP Cloud NAT in transparent mode to intercept HTTP and HTTPS Web Traffic, I have added only below rules to redirect ...
sanket jaiswal's user avatar
1 vote
0 answers
42 views

How to allow squid user to use only certain ports that are bound to ip

In my squid configuration, I map each ip to a specific port. acl port_3000_acl myport 3000 acl port_3001_acl myport 3001 http_port 3000 http_port 3001 tcp_outgoing_address 185.166.196.238 ...
timur zolotov's user avatar
0 votes
0 answers
13 views

Is it possible to get the response time parameters of individual request in Squid proxy (ubuntu 20.04)?

My application uses squid proxy (squid3) and since the requests are sent through a http tunnel to the proxy am unable to fetch some response time parameters like DNS lookup time and TCP handshake time....
Pervez's user avatar
  • 101
0 votes
1 answer
76 views

Forward all incoming traffic without redirect

How to forward all traffic to another domain? serverA has a serverA.com domain serverB has a serverB.com domain I want to forward all incoming traffic from serverA to serverB For example, when ...
Joe's user avatar
  • 11
0 votes
0 answers
98 views

Making a Two-step VPN Connection using a Transparent Proxy behind OpenVPN

I have two VPSs and I'm trying to make a two-step VPN connection as follows: [start] >> Client <-> OpenVPN on Server A <-> Proxy (ex: SQUID) on Server B <-> Internet So far: I ...
Shojajou's user avatar
0 votes
2 answers
33 views

Will my Harddisk still be written when i delete a logfile in use on Debian?

Due some Bug testings there are tons of request made to my squid server on debian. Because it is a test i can't disable logging, restart the Server or block the requests. Due the growing size of the ...
Deex's user avatar
  • 131
0 votes
0 answers
95 views

Setup another proxy servers each client ip in squid pfsense

i am using squid proxy on pfsense and proxy server from proxy-seller.com. I want to configure proxy server for each client ip on squid pkg. eg: 192.168.1.100 will use proxy 171.16.235.18:3356@user:...
Quang Nguyen's user avatar
0 votes
0 answers
190 views

Squid proxy service on docker with multiple ip on this same interface

I using squid on docker, and have problem with connect to other site by selected ip. I always connected by default host ip, not additional failover ip. My setup: a) server -dedicated server on ovh.org ...
mxcdh's user avatar
  • 103
1 vote
0 answers
76 views

Squid as an explicit & terminated forward proxy / bridge

Background: we've got some "old" IoT devices running an older SSL stack that must connect to a newer server over HTTPS. We'd like to setup a forward proxy / bridge so that: Device uses its ...
smertrios's user avatar
  • 111
0 votes
1 answer
366 views

Squid Reverse Proxy with SSL

I'm trying to use squid as a reverse proxy in front of a single website, to decrypt the SSL on the proxy and then to encrypt the connection to the webserver (this is in order to use squid as an ICAP ...
user3811862's user avatar
0 votes
1 answer
2k views

How can I avoid the error TCP_MISS_ABORTED/000 when uploading files through squid?

While uploading big files, > 10MB, through a squid V5.6, I noticed that they failed and/or were retried. The error has been logged multiple times in the logs: 1671092710.452 423 ::1 ...
Alex's user avatar
  • 121
0 votes
0 answers
253 views

SQUID proxy TCP_DENIED Anydesk

As per title, squid proxy blocks access to the Anydesk network although there are exceptions. My squid.conf is: acl acl.anydesk3 dstdomain "/etc/squid/acl.anydesk3" http_access allow acl....
Consorzio's user avatar
0 votes
1 answer
227 views

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://...
albertoiNET's user avatar
0 votes
2 answers
111 views

How to show an internal static page to IP addresses list? [closed]

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 ...
acgbox's user avatar
  • 366
0 votes
1 answer
454 views

CONNECT Proxy over Squid with TLS termination

I can create a regular http(s) proxy with Squid, which can then be accessed at http://my-ip. I want to have TLS termination, so I can access httpS://my-domain. I have generated ssl certs using certbot ...
d9ngle's user avatar
  • 49
0 votes
1 answer
146 views

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 ...
chingis's user avatar
  • 233
0 votes
1 answer
176 views

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 ...
Omid Shojaee's user avatar
0 votes
1 answer
81 views

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 ...
Vítor Baptista's user avatar
0 votes
0 answers
26 views

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 ...
Merc's user avatar
  • 759
1 vote
0 answers
140 views

How to make two squid servers share the same disk cache?

I'm trying to setup squid proxy in a kubernetes environment as a caching server with 3 replicas. I wanted to know whether all three replicas can share the same disk storage, or I'll have to assign ...
Ardneliahs's user avatar
0 votes
0 answers
39 views

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's user avatar
0 votes
0 answers
11 views

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 ...
Francisco's user avatar
  • 129
0 votes
0 answers
21 views

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 ...
ddCorazon's user avatar
0 votes
1 answer
167 views

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, ...
1FriendlyDoge's user avatar
1 vote
0 answers
121 views

Linux instance vs Windows instance - different behaviour in an AWS private subnet routing traffic through a NAT

I'm experimenting with a NAT gateway vs a Squid proxy in an EC2 instance (both of these placed in the same public subnet). To test connectivity, I'm using a private subnet to access the internet (once ...
Chaos's user avatar
  • 121
0 votes
0 answers
28 views

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 ...
mxcdh's user avatar
  • 103
0 votes
0 answers
141 views

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 ...
mohsen farjami's user avatar
1 vote
0 answers
46 views

proxy server to use ssh -D port

By using ssh like ssh userB@serverB -D 0.0.0.0:6060 , we bind ssh to the 6060 port of current server (serverA). I can connect to serverA port 6060 using Socks5 client (no auth). There are 2 problems: ...
Em.MF's user avatar
  • 11
0 votes
0 answers
122 views

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 ...
mhutter's user avatar
  • 111
0 votes
0 answers
207 views

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 ...
bavuk's user avatar
  • 1
0 votes
0 answers
117 views

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 ...
milad_vayani's user avatar
0 votes
0 answers
66 views

squid client's DNS stops working after server connects to a VPN

I want to tunnel squid's client's traffic through the VPN the squid server is using. However after the server connects to the VPN, client's DNS stops working. VPN on server: Windscribe GUI in wstunnel ...
East Activist's user avatar
1 vote
0 answers
329 views

Docker containers behind squid proxy do not use proxy DNS

I am trying to setup a VM in a private NAT to use a squid proxy running on a gateway VM to access the internet. I have configured the internal VM to use the proxy by setting http_proxy, https_proxy in ...
migraf's user avatar
  • 11
1 vote
0 answers
177 views

Squid Cache is not caching anything - TCP_MISS is the result every time, please help me fix the configuration

I am trying to use Squid Cache for the first time. My aim – is that for any HTTP response from 192.168.0.2:3001 is cached and served from the cache. My config is as follows: http_port 3128 acl ...
RenegadeAndy's user avatar
0 votes
0 answers
363 views

Squid proxy error TCP_MISS/503

I'm using a 2 server connected to the same network using the same Squid Proxy. After installing a local agent, the first server is working fine but the second shows me this error in Squid Logs: ...
Mick's user avatar
  • 1
0 votes
0 answers
29 views

Squid shutdown on web request of type http://ftp.domain.country

I have compiled and installed Squid proxy (version 5.6) on Debian 11. When I enable certain response size control rules (reply_body_max_size), Squid stops instantly when making a web request to web-...
Francisco's user avatar
  • 129
0 votes
1 answer
1k views

Preferring IP v4 over v6 in Squid proxy 5.0 and newer

Squid 3.1 introduced dns_v4_first option to query and use DNS A records first instead of AAAA records. This helped a lot in situations where IPv6 was “second-class citizen” compared to native IPv4 — ...
Anton Samsonov's user avatar
0 votes
0 answers
435 views

How to configure Squid Proxy behind Cloudflare Tunnel?

I am trying to use Squid Proxy behind Cloudflare Tunnel. I just install Squid on my Rapberry PI with Ubuntu. I just take a free Domain from Freenom and put it on Cloudflare. I add on Freenom the CF ...
Adem Aga's user avatar

1
2 3 4 5
28