TinyProxy:空白屏幕

TinyProxy:空白屏幕

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

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

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

当我注释掉该行时:

Listen x.x.x.x (the address of my server)

我收到 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.

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

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

提前谢谢了,

答案1

这意味着 TinyProxy 正在工作。继续往下看,找到 tinyproxy 的 ACL 配置。您需要告诉它要接受哪些 IP 范围。从文档

Allow
Deny
The Allow and Deny options provide a means to customize which clients are 
allowed to access Tinyproxy. Allow and Deny lines can be specified multiple
times to build the access control list for Tinyproxy. The order in the config
file is important. If there are no Access or Deny lines, then all clients are
allowed. Otherwise, the default action is to deny access. The argument to
Access or Deny can be a single IP address of a client host, like 127.0.0.1,
an IP address range, like 192.168.0.1/24 or a string that will be matched
against the end of the client host name, i.e, this can be a full host name like
host.example.com or a domain name like .example.com or even a top level domain
name like .com.

相关内容