3

我已经在我的 Ubuntu 16 vps 上安装了 Squid 代理。这是我的 squid.conf:

auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid/passwords
auth_param basic realm proxy
acl authenticated proxy_auth REQUIRED
http_access allow authenticated
http_port 3128

这是我的 /etc/resolve.conf

nameserver 8.8.8.8
nameserver 1.1.1.1

在我的其他 vps 上,我正在使用 Polipo 将我的项目代理到该服务器。这是我的 Polipo 配置:

logSyslog = true
logFile = /var/log/polipo/polipo.log
parentProxy = "my proxy server address"
parentAuthCredentials = "my user name:my password"

我可以访问所有其他网站,但是当我尝试连接到 twitter.com 时,我收到以下消息:

curl -x 127.0.0.1:8123 https://twitter.com
curl: (56) Received HTTP code 403 from proxy after CONNECT

这里有什么问题吗?

4

0 回答 0