web-dev-qa-db-ja.com

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の構成を手伝ってくれませんか?

よろしくお願いします。

3
Eamorr

これは、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.
7
sybreon