Squid proxy server is not working on youtube, instagram, facebook, google, twitter, etc - http-proxy

I have just bought a VPS and installed squid proxy on it, all good, the proxy is working, but not on youtube, instagram, facebook, etc.. what to do? what to change in squid.conf ?

Found the solution:
Check your squid config for dns_v4_first off and change it to dns_v4_first on. Restart squid and it should work now.

Related

Reverse-Proxy Google site

We are trying to get a google site to run behind a proxy.
Spoke to a google support specialist and they said its possible, did not give any documentation and said to ask here.
A google website behind a nginx-proxy or Apache.
This proxy will be used to redirect traffic based on url.

Cloudflare for Proxy Server

I am a beginner in both Cloudflare and Proxy service, so I want your help in setting up a Proxy Server that uses Cloudflare. What I want to achieve is that user uses my proxy server in his browser settings, that proxy server itself uses Cloudflare.
I installed Squid3 on Debian server, and can use the server IP address as proxy settings in the browser, and all website loads fine. So I setup my Domain with Cloudflare Nameservers and within Cloudflare settings I put A record to my proxy server.
Now when I set that Domain name as the Proxy settings in the browser, only those websites load which are using CloudFlare's nameservers. All other websites show me Cloudflare's Error: 1001 - DNS resolution error.
My question is, is it possible to achieve what I am trying? If it is then what is the problem in this case?
CloudFlare only reverse proxy services meaning for a given domain we'll sit in front of your origin server and proxy all requests using a change to your DNS. Our self-service products don't allow you to proxy connections from a client to the internet in general.
If this is behaviour you're after, it's best to contact CloudFlare's sales team so something bespoke can be worked out.

Google Cloud Storage for dynamic website using HTTPS

Currently I'm hosting a client application written in AngularJS on Google Cloud Storage using the configuration described here.
I like this configuration because it acts as a CDN and we don't have to use a dedicated machine to host the frontend files.
The problem is that Google Cloud doesn't support HTTPS for custom domain names, and we want to improve our security standards serving at least the login page on an https domain.
¿Is there anyway we can keep the static files hosted on Google Cloud/some other CDN for fast serving and use an https domain?
Update
For anyone interested, we finally migrated all our CDN with HTTPS requirements to Amazon S3 + CloudFront and it works like a charm.
While Google Cloud Storage does support HTTPS, it does not support HTTPS for custom domain names.
Although you've found a solution not connected with your original question, I'm answering in case someone gets here with the same question like I did.
Google Firebase link is an excellent way to serve websites (and apps) as it is automatically through SSL (https) and Google Edge servers (effectively CDN function). And https will work using your own domain name. You can push your site from your local machine (Node.js needed) or from GitHub, Gitlab, etc. using continuous integration/deploy.
There is a generous free trial plan to try it first, then a reasonable monthly rate to pay as you go as your usage grows. plans

Cannot block https sites on squid pfsense

I am trying to block all traffic (I mean all the websites on the internet) and only allow google maps. I am using squid transparent proxy in pfsense.
well, the issue is that it blocks all the websites but allows the https, so everyone can connect to YouTube, Facebook and every website that uses https.
Is there any way to block the httpss websites except one or few?
Thanks!
Well you have 2 ways the 1st way is using WPAD which blocks https but i heard that some androids or some devices dont work as well so I cant tell you how good it works
https://forum.pfsense.org/index.php?topic=93060.0
Or the second way use pfblockerNG like I do and block all the sites that you do not need. Facebook and dropbox easy but youtube seems to come with google so by blocking youtube you block google unfortunately, Hopefully next month E2guardian is going to up and ready for https filtering.
If you need a list for certain sites let me know and I will attach the links to download the IPs
Hope this helps

Firefox redirecting to old site, though other browsers works good

I have bought my domain from one domain registrar and set domain forwarding to where my website is hosted. Now I have setup my website on amazon cloud and did all changes as described and changed DNS changes from my domain registrar.
Everything works good from IE and even from inbuilt browser of Eclipse. But Firefox is still taking to the site where site was hosted earlier.
what is the reason and how to resolve? I have cleared the cache related to website.
Perhaps these links may be of help:
Firefox invalidate dns cache
http://en.kioskea.net/faq/555-disabling-the-dns-cache-in-mozilla-firefox

Resources