标签: tinyproxy

如何使用 firehol 和 tinyproxy 创建一个透明的 https 代理?

我在 Ubuntu 10.04.4 中设置了一个透明代理,其中 firehol 和 tinyproxy 适用于 http,但我无法让它适用于 https。

直接连接到 tinyproxy 可以正常工作,因为以下命令可以正常完成:

env  http_proxy=localhost:8888 curl  http://www.google.com
env https_proxy=localhost:8888 curl https://www.google.com
Run Code Online (Sandbox Code Playgroud)

Http 透明代理也可以正常工作:

curl  http://www.google.com
Run Code Online (Sandbox Code Playgroud)

但是当直接使用 https 访问 google 时,命令就挂了:

curl  https://www.google.com
Run Code Online (Sandbox Code Playgroud)

这是 firehol 和 tinyproxy 的完整配置文件。请注意,除了透明代理之外,我对使用 firehol 没有兴趣。

firehol.conf:

transparent_proxy "80 443" 8888 proxy
interface any world
   client all accept
   server all accept
Run Code Online (Sandbox Code Playgroud)

tinyproxy.conf(除了上游代理之外的所有默认值):

User    nobody
Group   nogroup
Port    8888
Timeout 600
DefaultErrorFile  "/usr/share/tinyproxy/default.html"
StatFile          "/usr/share/tinyproxy/stats.html"
Logfile           "/var/log/tinyproxy/tinyproxy.log"
LogLevel Info
PidFile           "/var/run/tinyproxy/tinyproxy.pid"
MaxClients     100
MinSpareServers  5
MaxSpareServers 20
StartServers …
Run Code Online (Sandbox Code Playgroud)

transparent-proxy tinyproxy

9
推荐指数
1
解决办法
2万
查看次数

tinyproxy 身份验证

我对如何在 tinyproxy 上设置用户名/密码限制感到困惑(这样不是所有人都可以访问它 - ip alow/block 在我的设置中使用有限)。任何指针?

谢谢!

proxy tinyproxy

7
推荐指数
3
解决办法
2万
查看次数

Tinyproxy 拒绝 CONNECT 方法

我正在尝试配置 tinyproxy,当我通过 Proxifier 检查器检查它时,它会在日志文件中抛出以下错误:

CONNECT   Oct 22 11:39:59 [13230]: Connect (file descriptor 6): 81-*-*-*.utk.ru [81.*.*.*]
CONNECT   Oct 22 11:39:59 [13230]: Request (file descriptor 6): CONNECT www.google.com:80 HTTP/1.1
INFO      Oct 22 11:39:59 [13230]: Refused CONNECT method on port 80
INFO      Oct 22 11:39:59 [13230]: no entity
Run Code Online (Sandbox Code Playgroud)

Proxifier 向我展示了这个错误:

[44:38] Error : the proxy server cannot establish connection with www.google.com:80
    The error may indicate that the proxy server doesn't support SSL connections.
    It means that the proxy can be used for web …
Run Code Online (Sandbox Code Playgroud)

networking linux ubuntu proxy tinyproxy

7
推荐指数
1
解决办法
2万
查看次数

多线程替代tinyproxy?

有没有免费的、轻量级的、单进程(例如多线程、异步)HTTP 转发代理软件?

Tinyproxy工作得很好,但它使用多个进程,如(Apache 的)prefork。HAProxy 和 nginx 是反向代理,好像没有正向代理功能。鱿鱼好大。。。

nginx squid http-proxy haproxy tinyproxy

4
推荐指数
1
解决办法
8373
查看次数

TinyProxy:空白屏幕

我正在尝试通过 TinyProxy 提供一些页面。

当我将 Firefox 代理设置更改为:

本地主机:8888(是的,我正在使用隧道),我得到的只是一个白屏?

当我注释掉这一行时:

Listen x.x.x.x (the address of my server)
Run Code Online (Sandbox Code Playgroud)

我收到 403 错误:

Access denied

The administrator of this proxy has not configured it to service requests from your host.
Generated by tinyproxy version 1.8.1.
Run Code Online (Sandbox Code Playgroud)

至少当我收到此错误时,我确信我的隧道正在工作......

但是,有人可以帮我配置 TinyProxy 吗?

提前谢谢了,

configuration proxy tinyproxy

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