相关疑难解决方法(0)

iptables 阻止 https 网站

我希望在我的组织中阻止一些也在 https 上运行的网站,例如 facebook、twitter 和 gmail。按照上级的命令,这里不应该使用鱿鱼。我们可以使用 Untangle Lite Package 和iptables.

除了 Squid 之外还有其他选择吗?还有一些iptables规则来阻止这种流量会非常有帮助。

我找到了这个

iptables -t filter -I INPUT -m string --string facebook.com -j LOG --algo bm
iptables -t filter -I INPUT -m string --string facebook.com -j REJECT --algo bm
Run Code Online (Sandbox Code Playgroud)

但 https 仍然适用于本地机器以外的机器。

iptables filter

9
推荐指数
3
解决办法
4万
查看次数

标签 统计

filter ×1

iptables ×1