Transparent HTTP+HTTPS Proxy with Squid and iptables

  Рет қаралды 57,376

SysEng Quick

SysEng Quick

Күн бұрын

Пікірлер: 48
@ОльгаСементина-з6н
@ОльгаСементина-з6н 4 жыл бұрын
I used to curse this proxy unless I have watched this video)) I wasn't able to configure HTTPS...And now your video makes things clear, Squid works properly!!! Thank you, very good tutorial! P.S. Your speech is very clear. Though English is not my mother tongue, I understood every word:)
@tsamaman1185
@tsamaman1185 2 жыл бұрын
Hello man, you just saved my life and my all class love you. Hope you have a great life
@jennyrosecaringal551
@jennyrosecaringal551 4 жыл бұрын
Hi I tried to initialize ssl_db however I'm getting an error ssl_crtd no such directoy. Thanks in advance
@LtAlexander
@LtAlexander 4 жыл бұрын
To anyone that's stuck on this too, wth squid versions 4.x and above, the ssl_crtd is renamed to security_file_certgen. Just replace ssl_crtd with security_file_certgen in the command he shows and you should be good! Also, following your exact instruction, no sites allow me to access. In the access log, it shows TCP_DENIED_ABORTED. I cannot get passed it. I tried lots of different configurations and firewall options. Disables iptables and ufw and still won't work. I feel that there is a bug in squid version 4.10. Anyone please let me know if you have the same issue and if you fixed it. What did you do?
@Jon-hh8jd
@Jon-hh8jd 3 жыл бұрын
First of all Holly f**k, thank you, i dont know why i didnt find this earlier. Now Squid is in version 4.13, and hes command needs the "-M" parameter. This worked out for me: sudo /usr/lib/squid/security_file_certgen -c -s /var/lib/ssl_db -M 4MB In access.log i dont get that error of yours (TCP_DENIED_ABORTED), but I get "no forward proxy ports configured" in cache.log
@LtAlexander
@LtAlexander 3 жыл бұрын
@@Jon-hh8jd You're welcome!
@napoleonarouldass4416
@napoleonarouldass4416 4 жыл бұрын
I got this error dh_apparmor --profile-name=usr.sbin.squid -psquid make: dh_apparmor: Command not found debian/rules:70: recipe for target 'install/squid' failed make: *** [install/squid] Error 127 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 what should I do now ?
@yogidude1
@yogidude1 Жыл бұрын
What needs to be configured for http_proxy and https_proxy variables for browser to route traffic to proxy... This is not mentioned in video... Can someone answer
@jimgrayson4828
@jimgrayson4828 Жыл бұрын
How would I get traffic to flow through both port 8083 and 80 in my proxy
@katgamindYourself
@katgamindYourself 5 жыл бұрын
How to blok like https site in squid proxy?
@DavidAlsh
@DavidAlsh 2 жыл бұрын
Is it possible to do this without the self signed certificate and decrypt? Just pass through directly
@cheseremtitus5989
@cheseremtitus5989 Жыл бұрын
Dope tutorial man!!! as at now I am working on injecting banners to t-proxied webpages. Could you offer a revelation on this. Again, I commend you on the outstanding content, it's ,short, brief & concise..
@LadyLatency
@LadyLatency 11 ай бұрын
all the squid proxy videos show how to set it up , but they never show where you can see the https decrypted payload sigh
@leuuon
@leuuon 6 жыл бұрын
Awesome. Thanks a lot SysEng Quick. Subscribed.
@itz_izzeeeey
@itz_izzeeeey 5 жыл бұрын
Thank you for this awesome Setup-Tutorial :) More of it pls !!!
@PownrajJaeshu
@PownrajJaeshu 5 жыл бұрын
Worked Like Charm. Thanks for the video.
@onurtural7424
@onurtural7424 4 жыл бұрын
This is the best tutorial! After adding intercept just after both http_port 3128 and https_port 3129, I got the following error when I attempt to restart the squid server: "kid1 | ERROR: No forward-proxy ports configured."
@onurtural7424
@onurtural7424 4 жыл бұрын
In squid 4.13 edit port config as follow, intercalarily set iptables rules same as tutorial (80 to 3128 and 443 to 3129). Also, rows contain 3128, and 3129 ports won't be changed. I just add a row contains 3127 on top of all http ports. It works charmingly! http_port 3127 ssl-bump cert=/usr/local/squid/etc/ssl_cert/myCA.pem generate-host-certificates=on dynamic_cert_mem_cache_size=4MB http_port 3128 intercept https_port 3129 intercept ssl-bump cert=/usr/local/squid/etc/ssl_cert/myCA.pem generate-host-certificates=on dynamic_cert_mem_cache_size=4MB
@santicarivera
@santicarivera Жыл бұрын
@@onurtural7424I can't believe I found the solution on a youtube video comment. It worked like a charm. Thank you so much for doing God's work haha
@danielchen8371
@danielchen8371 6 жыл бұрын
Very Good Tutorial, Thanks Very Much.
@sysengquick
@sysengquick 6 жыл бұрын
Thanks.
@itjourney7393
@itjourney7393 4 жыл бұрын
I am your subscriber # 420. :)
@happycars5902
@happycars5902 6 жыл бұрын
Hi There, Can you help me to restrict POST method on http and https via Squid proxy on CentOS 7. So that, user can not send attached file or upload file to Website sharing, Dropbox, Onedrive.... Thanks in advance Tri Le
@nimda2sdfsdfsd
@nimda2sdfsdfsd 5 жыл бұрын
Fantastic Video ! Can you tell us how do These Proxy services are setup on the cloud. In simple terms. Tx.
@Sauletekis39
@Sauletekis39 5 жыл бұрын
Thank you very much!! Very good tutorial and it work perfectly!! But I've got a problem with client apps like dropbox, google drive, whatsapp web, etc. They're not working :'( Could you help me? Any way of adding a exclusion on squid or iptables for these client apps to skip proxy?
@DOWNFALL-1337
@DOWNFALL-1337 2 жыл бұрын
can user load myca der setup with some a domain ?
@kristoffseisler2163
@kristoffseisler2163 4 жыл бұрын
ran in to an error, 'apt source squid' prints this: E: You must put some 'deb-src' URIs in your sources.list¨ *Edit on ubuntu 20.4 this problem is solved by "sudo nano /etc/apt/sources.list" and commenting in the "deb-src" lines
@sabujplays1611
@sabujplays1611 Жыл бұрын
Link not working bro😢
@gkutsia
@gkutsia 6 жыл бұрын
instead editing build files, you can build with --enable-ssl option
@ajaychandrasekaran1158
@ajaychandrasekaran1158 4 жыл бұрын
how to build with this option ? can u pls provide the steps ?
@deuferna
@deuferna 5 жыл бұрын
Hello, first of all, thaks so much for this tutorial, so usefull. I have had some issue, in line command: "openssl x509 -in myCA.pem -outform DER -out myCA.der" , a mesage has ocurred: unable to load certificate. Could you please help me? Thanks again..
@christianbarrientos4823
@christianbarrientos4823 5 жыл бұрын
Hello, Thanks for the video and I subscribe. I try to do it but I can not do it, I still get the error of hsts, I install the certificate generated in the client and nothing. Could someone try it recently? Excuse me for my English.
@wilsonmusa4956
@wilsonmusa4956 4 жыл бұрын
Nice Thank You
@AliSHAN_Networking-lectures
@AliSHAN_Networking-lectures 6 жыл бұрын
Hi nice video keep it up you awesome 👍. Kindly tel me please I really need this one "how do I configure squid ssl for (https) in centos 6" please tell me thanks so much
@sergecornushov3111
@sergecornushov3111 6 жыл бұрын
Nice video. How to do HTTPS caching?
@CloudNativeJanitor
@CloudNativeJanitor 6 жыл бұрын
read more about the ssl_bump
@420gramas7
@420gramas7 6 жыл бұрын
apt source squid E: Invalid operation source
@torn2242
@torn2242 5 жыл бұрын
apt install squid ?
@cheebadigga4092
@cheebadigga4092 5 жыл бұрын
I guess you have to enable source repos in sources.list
@xuxamelo
@xuxamelo 3 жыл бұрын
A transparent https proxy wouldn't require a certificate or any other mood at browser client ;)
@rubencordovaalvarado8475
@rubencordovaalvarado8475 3 жыл бұрын
Transparent means “no proxy config at client”. The steps to import the CA cert are needed to avoid the “not secure connection” warning (basically this is a MITM). The transparent proxy is working properly.
Install Desktop Manager from Console in Debian
1:26
SysEng Quick
Рет қаралды 3,8 М.
How to Create a Proxy // Squid (HTTP) and SOCKS
14:04
Dev Odyssey
Рет қаралды 182 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Boost Web Performance with Squid Proxy Server on Ubuntu 22.04
19:05
Why I am Not Using OPNSense
8:26
Lawrence Systems
Рет қаралды 133 М.
squid proxy server in RHEL7 | RHCE | Tech Arkit
23:13
Tech Arkit
Рет қаралды 24 М.
Quick and Easy Local SSL Certificates for Your Homelab!
12:08
Wolfgang's Channel
Рет қаралды 915 М.
How HACKERS Send Malware | DNS Spoofing
11:46
Cyb3rMaddy
Рет қаралды 62 М.
How To Configure A Transparent Proxy Using PFSense
18:49
VMNerd
Рет қаралды 58 М.
SQUID Proxy Server on AWS - Setup | Demo | Usage
20:34
knowledgeindia - LearnCloud
Рет қаралды 21 М.