Squid Web Cache Wiki

Squid Web Cache 文档

🔗 使用 Squid 阻止 TLD

🔗 目录

有时您可能希望阻止整个 TLD(顶级域名)。

🔗 用法

有时可能需要阻止整个 TLD。例如,.tv 或 .xxx。或者出于任何其他原因。

🔗 Squid 配置文件

像这样粘贴配置文件

# Block top level domains
acl block_tld dstdomain .tv .xxx
http_access deny block_tld
deny_info TCP_RESET block_tld

请注意,我们会向客户端发送 TCP_RESET。因此,他看不到我们是通过代理完成的。:smirk:


⚠️ Disclaimer: Any example presented here is provided "as-is" with no support
or guarantee of suitability. If you have any further questions about
these examples please email the squid-users mailing list.

类别: ConfigExample

导航:站点搜索站点页面分类🔼 向上