Skip to main content

Questions tagged [squid]

Squid is a Proxy Server for Linux.

76 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
1 answer
14k views

How to use authentication with negiotiation (e.g. Kerberos) to HTTP proxy?

Generally accepted is the use of HTTP_PROXY/HTTPS_PROXY environment variables to specify the use of a proxy server. Authentication can be included in this URL, e.g. HTTP_PROXY=http://user:pass@myproxy....
gertvdijk's user avatar
  • 14k
4 votes
0 answers
10k views

Transparent HTTPS Squid proxy with upstream parent

I've got a network without direct internet access where I have Squid 3.5.9 as a transparent proxy listening on tcp/8080 for HTTP and on tcp/8443 for HTTPS (redirected via iptables from tcp/80 and tcp/...
MLu's user avatar
  • 2,130
3 votes
0 answers
1k views

How to pass an HTTPS scheme request to a proxy without using a CONNECT tunnel on FreeBSD?

The client (C) pass through a proxy (P) to contact a server (S): A --http--> P --https--> S I need the proxy to be able to investigate the request content, for this I see two options: SSL ...
WhiteWinterWolf's user avatar
3 votes
1 answer
545 views

Local transparent proxy

In my workplace I'm using Debian Linux. It is, however, a Windows shop and recently they decided to install a proxy that needs my Windows domain credentials to use. I can only access the Internet ...
Ivo Leitão's user avatar
3 votes
2 answers
1k views

Policy routing with load balanced ppp connections

This my setup using Debian 6.0. 6. It's role is a proxy server and a load balancer using eight 3G modems. Whenever a ppp connection dials it takes over the default gateway which is ok but it also ...
ovidiucs's user avatar
2 votes
0 answers
233 views

How much do I stand to gain if I run a caching proxy server when most sites are using HTTPS

I have been running squid to cache content along with privoxy to remove lower quality content for years; however, as more and more sites use HTTPS, the amount I can effectively cache or filter is ...
Walter's user avatar
  • 1,234
2 votes
0 answers
2k views

Configuring Squid as a proxy server that allows torrenting

I have an Ubuntu 16 server with Squid 3.5 installed. The squid.conf file only has two lines: http_port 1234 http_access allow all Right now I can set this server up as a proxy, and use it to send ...
Jack Cole's user avatar
  • 141
2 votes
1 answer
1k views

firewalld + squid : how-to setup a proxy

infra-server with IP x.x.x.x (with no internet connectivity) does the following request: $ wget http://google.com --2016-11-04 09:32:55-- http://google.com/ Resolving google.com (google.com)... 172....
nskalis's user avatar
  • 685
2 votes
0 answers
274 views

Proxy Filtering with Squid

I am currently faced with a situation where i would like to deploy a proxy server on amazon EC2 running on Ubuntu. What i am trying to achieve is to have Wifi users in each site have their traffic ...
jaglin84's user avatar
2 votes
0 answers
854 views

Make SSL certificate trusted in browser via SSL Bump Squid

my goal is to insert custom HTML injections in HTTPS pages. I've setup Squid with SSL Bump. I generated a self signed certificate. With this setup I'm getting client side warnings that the ...
Ilya Manyahin's user avatar
2 votes
0 answers
3k views

How to configure Squid for Microsoft Outlook?

I have configured a Squid proxy server on RedHat Enterprise Linux 5.4. All my Windows clients have been configured to use the proxy at 192.168.5.100, port 3128 when accessing the Internet. However, ...
BlueBerry - Vignesh4303's user avatar
2 votes
0 answers
586 views

Squid cache problem

If I put in my test_site acl (deny access policy) a site (i.e, www.aaabbbccc.com) which nobody ever accessed and do a squid -k reconfigure, Squid then appears to correctly log the site. I then ...
gguth's user avatar
  • 21
2 votes
0 answers
1k views

Why does my squid cache never get any hits?

I have set up a squid cache on a portable 3G/wifi router I've built. The proxy works, but I only ever see TCP_MISS, with a very rare TCP_MEM_HIT I've never tried this before, and this is the ...
RoboJ1M's user avatar
  • 211
2 votes
1 answer
5k views

Squid systemd service not run at boot

I compiled squid 3 from source and installed in /usr/local/squid/ on my debian jessie computer. I want to start squid at boot. The following code is my squid.service which located in /etc/systemd/...
tkha's user avatar
  • 91
1 vote
0 answers
240 views

Squid proxy server configuration issue with Instagram media content

I am trying to configure a squid proxy on the remote virtual server in order to access blocked content from my smartphone. I have installed Squid and everything works, but for some reason Instagram ...
VladF's user avatar
  • 63
1 vote
0 answers
149 views

Run squid proxy service in a systemd enable centos 7 container

I am unable to start squid service in a systemd enabled centos 7 container. I am able to install the squid package. this is what I got before starting the service : [root@c65bf5111b85 /]# systemctl ...
Lionel Tsimi Biloa's user avatar
1 vote
0 answers
2k views

squid proxy url_regex with ssl-bump

I've been banging my head trying to get squid proxy to work with https. I've checked that its supported and enabled ssl-bumping. I've also setup the certificates etc according to https://support....
David Co's user avatar
  • 123
1 vote
0 answers
651 views

Squid Transparent Port Redirection

I'm running Squid 5.2 on Ubuntu 20.04. I set this machine up as a web filter for my children. The proxy functions appear to work fine. I am pretty sure at least one of the children will be able to ...
sirEgghead's user avatar
1 vote
0 answers
709 views

Squid and openvpn client same time - route Squid traffic through VPN client

I'm doing proxy setup squid. I set up squid as a forward proxy listening to my public IP where my firefox browser connects to port 3128 of that public IP and I can browse the web without any issues. ...
sameera's user avatar
  • 304
1 vote
1 answer
2k views

squid, TLS connection between browser and proxy

I have a squid instance (v4.6) on a public address A.B.C.D setup with basic_auth (ldap backend). This works over unencrypted port, say 8080, using http_port A.B.C.D:8080. I'm trying to fiugre out how ...
Kamil's user avatar
  • 1,491
1 vote
0 answers
410 views

How to configure squid to accept all http headers

I'm trying to connect to my SSH server through squid using HTTP injector but I get a protocol mismatch. The problem is only with the following payload I guess as it has a \n before GET. Using some ...
lor_t's user avatar
  • 11
1 vote
1 answer
56 views

Squid Transparent issue

I am facing the issue with transparent squid where I am unable to browse to any HTTP site yahoomail.com is not working while https://mail.yahoo.com is working. Please see my squid config # ...
Hasan's user avatar
  • 11
1 vote
0 answers
621 views

Squid + Squidguard - redirect http traffic

Im having trouble figuring out which is the best way to redirect the traffic for a certain subnet. Basically i want to deny the access for a certain subnet to the internet. And i want it to always ...
amam's user avatar
  • 13
1 vote
1 answer
2k views

Reverse proxy multiple backend web servers

I am trying to have multiple copies of the same web application appear under different paths of a single URL. Each application is a unique instance with its own login. All run with http. In this ...
Tim's user avatar
  • 33
1 vote
0 answers
1k views

SQUID intercept mode using external authentication and ICAP with adaptation_send_username not working

My goal is to transparently filter HTTP and HTTPS URLs based on a user name that is obtained via an external acl type. I am running Squid 3.5.23 in intercept mode, after researching, it seems that ...
Steve's user avatar
  • 111
1 vote
0 answers
352 views

Proxy or something else to mirror website?

I want to set up a website on my internal network that mirrors the bbc iplayer website and have all the associated functionality. The internal site will be a vm or a container with a vpn client ...
user610209's user avatar
1 vote
0 answers
54 views

MOD_PROXY with Squid

I am not entirely sure how to ask this question so it may have been discussed before. Attached below is an image of my image server setup. Here is how it works: A User visits my real estate website ...
Terry Carter's user avatar
1 vote
1 answer
3k views

Iptable rules for squid on centos 7

I have two interfaces in my proxy server eth0 and eth1. where eth0 connects to local (private) network wile eth1 connects to internet.My squid version is 3.3.8 and centos 7 is my OS. I have to ...
Hafiz Muhammad Shafiq's user avatar
1 vote
0 answers
277 views

How to know, by which rule squid3 has denies access to the page?

I am trying to build advertisement blocking list on my squid3 but sometimes I don't understand, by which reason some pages were blocked. Can I add some hints to blocking rules to display on deny page?
Dims's user avatar
  • 3,285
1 vote
0 answers
118 views

Certain squid functions don't work, sometimes nothing at all work

I set my proxy to 127.0.0.1:3128, and then I added this to the configuration file: acl blocked_sites url_regex -i "/usr/local/etc/squid/blocked_sites" http_access deny blocked_sites http_access allow ...
DisplayName's user avatar
  • 11.8k
1 vote
0 answers
1k views

Can not divert packet to pf when configure transparent squid 3.4.13 on OpenBSD 5.7

I am trying to build transparent proxy with squid on OpenBSD 5.7 with pf firewall. I compile squid from sources with options: $ squid -v Squid Cache: Version **3.4.13** configure options: --prefix=...
4Hero's user avatar
  • 11
1 vote
0 answers
138 views

Transparent proxy to other IP of thousand ports

I was bought a service that only allow a IP, the IP that i say, only one, but I need use this from more IP's. I think that I can install in this computer a system to do a transparent proxy for ...
user1710825's user avatar
1 vote
0 answers
292 views

More Information Regarding Upload Restriction in Squid Server

I've used request_body_max_size 1024 KB command in my squid.conf file and it is working in restricting my upload of files larger than 1 MB when I try to upload through upload sites. But I want to ...
Diablo's user avatar
  • 11
1 vote
0 answers
5k views

Error: iptables: No chain/target/match by that name

I am trying to configure proxy server on RHEL Server 6.5 using Squid and iptables. Below is the command I executed and the error message it displayed: vzlptest01 root [root] > iptables -A INPUT -i ...
Mandar Shinde's user avatar
1 vote
1 answer
604 views

bypass firewall with Openvpn + Squid

I have 2 VPS servers, one in China and another in the US. The server (openvpn client) in China is connected to the US one via openvpn. I also have squid running in the China server. I want to ...
JIA's user avatar
  • 51
1 vote
1 answer
429 views

Host not found trying to restrict access to yahoo.com in elinks using squid

I added this in squid.conf acl blocked_sites dstdomains .yahoo.com http_access deny blocked_sites and this in elinks.conf set protocol.http.proxy.host = "proxy.localhost:3128" set protocol.http....
Alex's user avatar
  • 21
0 votes
0 answers
14 views

How to pass a peer/sub-proxy from ACL script back to Squid?

Let's say, I have a python script which handles ACL: #squid.conf # [............] # sub-proxies/peers cache_peer 01.01.01.99 parent 30024 0 no-query no-digest name=peer1 cache_peer 01.01.02.99 parent ...
kriss100's user avatar
0 votes
0 answers
13 views

Squid Proxy unable to access subdomain

I have squid proxy server sunning on centos 8 everything working fine . Im unable to access subdomain ksa1.aconex.com acl localnet src 100.100.100.0/24 acl localnet src 172.30.0.0/16 acl localnet src ...
Rizwan Saleem's user avatar
0 votes
1 answer
39 views

the Internet does not start via squid

I installed squid 6.2. I built it from sources with ssl. the service starts normally. there are 2 network cards. one looks at the local network, the other at the Internet. I used the manual for ...
Николай Мельников's user avatar
0 votes
0 answers
76 views

E2Guardian+Squid mark forwarded packets between interfaces

I read couple of similar scenarios but did not find any solution. So this is what I have at the moment. An Ubuntu 20.0 LTS box with E2Guardian 5.4 and Squid 4.10. This host is set as gateway for my ...
sfeher's user avatar
  • 1
0 votes
1 answer
101 views

Is it possible to redirect squid traffic from Host A through Host B(Squid)?

Can traffic of Host A having squid proxy redirect all its traffic to Host B's squid proxy using ssh tunnel? Couldn't find any solution. A help will be appreciated. Solution form this https://unix....
Vishal Sanghani's user avatar
0 votes
0 answers
421 views

Squid transparent proxy for HTTPS requests that have been redirected by DNAT rule

I would like to look into suspicious activity of possibly infected web application in my network. I wanted to use squid to intercept https requests with https_port directive. My network setup: http/...
Marcel Tkáč's user avatar
0 votes
0 answers
93 views

squid proxy on redhat 7 is not allowing http traffic

I have two squid proxy servers. They both have same squid.conf file. One is allowing http traffic but other is not allowing http traffic. https traffic is working via both squid proxies squid config ...
AstraLino's user avatar
0 votes
0 answers
155 views

How can I forward my http/https request to 2 different upstream proxies based in the destilanation url?

Hi I am quite struggling to find a good solution to my problem. I have to forward http/https requests from my (Linux) server to 2 different proxy based on the destination URL. I've tried different ...
Zioalex's user avatar
  • 286
0 votes
0 answers
243 views

How to add windows client machines IP’s and names in squid proxy so the logs output as clients name instead IP

I have configured squid proxy server on centos stream and its up and running perfectly I want access.log output as windows client usernames instead of machine IP . As example below . current output ...
Rizwan Saleem's user avatar
0 votes
0 answers
184 views

Squid transparent proxy not intercepting

I have configured squid as transparent proxy on centos 8. squid is not intercepting or deploying here is below my configuration. # # Recommended minimum configuration: # # Example rule allowing ...
Rizwan Saleem's user avatar
0 votes
1 answer
410 views

How to add proxy server settings in wifi router or access point

I have squid proxy server running in centos 8 i want to setup proxy server in wifi router or wireless access point which i can force wireless clients to go through proxy server.
Rizwan Saleem's user avatar
0 votes
0 answers
65 views

Some questions about how IPTABLES works

I am building a 4G proxy server from this tutorial: https://learnproxy.altervista.org/create-your-own-mobile-4g-proxies-for-instagram-tutorial-2020/ In an excerpt of the tutorial, it is advised to ...
Felipe Gabriel's user avatar
0 votes
1 answer
373 views

How to manage squid authentication

I'm running a squid server. I want to limit my users for using their usernames to use my proxy server. For example, I define a limit for a username named (user1) that if, for example, 3 devices use ...
erikmsi's user avatar
0 votes
0 answers
1k views

HAproxy + Transparent Squid configuration

I tried configuring squid to be a transparent proxy and then connecting it to a HAProxy load balancing server on CentOS 7. My squid configuration is this: http_access allow localnet http_access allow ...
Gwynn's user avatar
  • 41