squid代理只能访问https://www.google.com

2013-07-30 15:26:02 +08:00
 after1990s
最近碰到一个奇葩事情。想用squid搭一个代理用来过墙,发现只能访问google.com加密版。其他任何网站都是访问超时。

dns是在服务器上搭建。
服务器过墙的方式是cisco vpn.


这是squid的配置。
2013/07/30 15:23:27| Processing Configuration File: /etc/squid3/squid.conf (depth 0)
2013/07/30 15:23:27| Processing: acl manager proto cache_object
2013/07/30 15:23:27| Processing: acl localhost src 127.0.0.1/32 ::1
2013/07/30 15:23:27| Processing: acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
2013/07/30 15:23:27| Processing: acl SSL_ports port 443
2013/07/30 15:23:27| Processing: acl Safe_ports port 80 # http
2013/07/30 15:23:27| Processing: acl Safe_ports port 21 # ftp
2013/07/30 15:23:27| Processing: acl Safe_ports port 443 # https
2013/07/30 15:23:27| Processing: acl Safe_ports port 1025-65535 # unregistered ports
2013/07/30 15:23:27| Processing: acl CONNECT method CONNECT
2013/07/30 15:23:27| Processing: http_access allow all
2013/07/30 15:23:27| Processing: http_access allow manager localhost
2013/07/30 15:23:27| Processing: http_access deny manager
2013/07/30 15:23:27| Processing: http_port 3128
2013/07/30 15:23:27| Processing: coredump_dir /var/spool/squid3
2013/07/30 15:23:27| Processing: refresh_pattern ^ftp: 1440 20% 10080
2013/07/30 15:23:27| Processing: refresh_pattern ^gopher: 1440 0% 1440
2013/07/30 15:23:27| Processing: refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
2013/07/30 15:23:27| Processing: refresh_pattern . 0 20% 4320
5130 次点击
所在节点    问与答
4 条回复
hadoop
2013-07-30 16:13:38 +08:00
你贴的是squid的启动log,不是配置文件。。。。。

配置文件是 /etc/squid3/squid.conf
hcw1588
2013-07-30 16:32:17 +08:00
贴上你的配置文件我看看
after1990s
2013-07-30 17:55:11 +08:00
配置文件好长哦。那个启动log有全部的配置信息呀。
然后我怀疑是cisco vpn被干扰的原因。
hcw1588
2013-07-30 17:59:10 +08:00
@after1990s 你做了iptables转发了吧

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/77427

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX