问题描述
我正在尝试让 Squid3 使用基本身份验证.我正在 EC2 上的 ubuntu14.04 上进行设置
我正在关注 连接超时.我做错了什么?
附录:
在命令行输入 netstat -tulpen 后,我得到:
Proto Recv-Q Send-Q 本地地址外地址状态用户 inodePID/程序名称tcp 0 0 0.0.0.0:22 0.0.0.0:* 听 0 8476——tcp6 0 0 :::22 :::* 听 0 8478——tcp6 0 0 :::3128 :::* 听 0 8685——
所以我假设它的功能正常..
你上面发布的配置我觉得不错.您确定 Squid 正在运行并接受端口 3128 上的连接吗?至少我在截图中没有发现任何错误......
I'm trying to make Squid3 to use basic authentication. I'm setting this up on ubuntu14.04 on EC2
I'm following http://hackingonstuff.net/post/23929749838/setting-up-a-squid-proxy-on-aws and have managed to get through steps 1-3:
for step 4 I have done:
Step 5 says:
Depending on your OS/browser, you should configure the system to access the Internet
via the proxy for both HTTP and HTTPS (e.g. ec1-11-11-11-11.compute-2.amazonaws.com:3128).
I have opened up the chrome settings browser and configured the proxy as
unfortunately when I open , http://www.whatsmyip.org/ the connection times out. What am I doing wrong?
addendum:
after entering netstat -tulpen at the command line I got:
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode
PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 8476
-
tcp6 0 0 :::22 :::* LISTEN 0 8478
-
tcp6 0 0 :::3128 :::* LISTEN 0 8685
-
So I'm assuming its functioning OK..
The configuration you posted above looks good to me. Are you sure the Squid is running and accepting connections on port 3128? At least I don't find any mistake in the screenshots…
这篇关于配置chrome浏览器使用代理服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!