V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
after1990s
V2EX  ›  问与答

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

  •  
  •   after1990s · 2013-07-30 15:26:02 +08:00 · 5109 次点击
    这是一个创建于 3928 天前的主题,其中的信息可能已经有所发展或是发生改变。
    最近碰到一个奇葩事情。想用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
    4 条回复    1970-01-01 08:00:00 +08:00
    hadoop
        1
    hadoop  
       2013-07-30 16:13:38 +08:00
    你贴的是squid的启动log,不是配置文件。。。。。

    配置文件是 /etc/squid3/squid.conf
    hcw1588
        2
    hcw1588  
       2013-07-30 16:32:17 +08:00
    贴上你的配置文件我看看
    after1990s
        3
    after1990s  
    OP
       2013-07-30 17:55:11 +08:00
    配置文件好长哦。那个启动log有全部的配置信息呀。
    然后我怀疑是cisco vpn被干扰的原因。
    hcw1588
        4
    hcw1588  
       2013-07-30 17:59:10 +08:00
    @after1990s 你做了iptables转发了吧
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1831 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 00:56 · PVG 08:56 · LAX 17:56 · JFK 20:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.