Blocking HTTPS sites through Squid

柔情痞子 提交于 2019-12-12 10:21:24

问题


Can I block https://www.facebook.com through Squid? It is working very nicely except HTTPS sites I am using Squid 3.1 in Debian 7


回答1:


Yes, you can. You should also block it with CONNECT:

 acl fb dstdomain .facebook.com
 http_reply_access deny fb
 http_access deny CONNECT fb

then:

 squid3 -k reconfigure 

or

 squid -k reconfigure

Now, it is done!



来源:https://stackoverflow.com/questions/25518442/blocking-https-sites-through-squid

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!