【问题标题】:Nginx + Squid + Privoxy + Tor to reverse proxy and protect connecting ips?Nginx + Squid + Privoxy + Tor 反向代理和保护连接的ips?
【发布时间】:2016-01-26 08:06:37
【问题描述】:

我正在寻求有关如何设置此堆栈的帮助:

用户 => site.com => nginx => squid => privoxy => tor => site.net

所以基本上,我的 vps 上会有 nginx+squid+privoxy+tor,我的域是 site.com,我想反向代理 site.net。

目标应该是,如果我在 site.com 上有 ip 1.1.1.1,site.net 应该只看到 tor 出口节点的 IP,而不是 site.com ip。

我试图做的没有成功的是我需要强制 nginx 只使用连接到 8 个 privoxy 实例的 squid 端口,这些实例连接到 8 个 tor 实例,以使连接到 site.net 的 ips 多样化

我在网上尝试了几个指南,包括:

  1. terminal28.com/anonymity-online-how-to-install-and-configure-squid3-tor-privoxy-debian-ubuntu-linux/
  2. evilzone.org/anonymity/setup-your-own-proxy-with-squidprivoxytor-on-debian-like-distros-(教程)/
  3. wiki.vpsget.com/index.php/Squid%2BPrivoxy%2BTor
  4. mightycomputers.wordpress.com/2012/09/10/recently-i-foun/

我想了解这对于个人知识和 100% 合法使用是如何工作的。

还检查了这个旧的 github 项目,带有 nginx 补丁,但没有工作:

github.com/Lem/nginx-to-tor 这就是我想要达到的目标。

我主要使用 Ubuntu 14.04 和 debian 7,都是 64 位的。 当我尝试强制 nginx 使用 squid 端口(例如 3128)时,我主要停留在部分上,它给出了一个错误。

如此处所述:github.com/Lem/nginx-to-tor/blob/master/frontend/nginx-http_proxy.patch

如果我使用浏览器直接连接到 squid,它可以正常工作。

感谢所有可能帮助我的人。

【问题讨论】:

  • 你可以为 site.com 发布你的 nginx 虚拟主机配置吗?您不需要任何类型的补丁,只需将 nginx 设置为 reverse proxy 到 squid 并让 squid 处理所有 privoxy/tor 通信。

标签: nginx proxy squid tor


【解决方案1】:

您可以为此使用http://www.delegate.org/delegate。 我以/opt/dg9_9_13/bin/dg9_9_13 -v ADMIN="mail@host.tld" -P8118 SERVER=http://url.onion SOCKS=localhost:9050/-r PERMIT="*:*:*" AUTHORIZER="-dgauth{user:pass}"开始它

【讨论】:

    猜你喜欢
    • 2015-04-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-05-04
    • 1970-01-01
    • 1970-01-01
    • 2023-03-16
    • 2019-01-14
    相关资源
    最近更新 更多