use*_*035 1 networking proxy restrictions
我有一个带有 Squid 代理服务器和直接 Internet 连接的 Linux 机器内核 3.7.0。浏览器和 Squid 驻留在同一台机器上。是否可以只允许通过 Squid 访问网络?也许使用 SELinux?
Jef*_*and 7
您可以使用iptables( -m owner --uid-owner $SQUID_UID) 中的所有者模块为 Squid 设置允许规则,然后拒绝其他流量。
iptables
-m owner --uid-owner $SQUID_UID
归档时间:
12 年,6 月 前
查看次数:
1844 次
最近记录: