after1990s
V2EX  ›  问与答

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

  •  
  •   after1990s · Jul 30, 2013 · 5899 views
    This topic created in 4674 days ago, the information mentioned may be changed or developed.
    最近碰到一个奇葩事情。想用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 replies    1970-01-01 08:00:00 +08:00
    hadoop
        1
    hadoop  
       Jul 30, 2013
    你贴的是squid的启动log,不是配置文件。。。。。

    配置文件是 /etc/squid3/squid.conf
    hcw1588
        2
    hcw1588  
       Jul 30, 2013
    贴上你的配置文件我看看
    after1990s
        3
    after1990s  
    OP
       Jul 30, 2013
    配置文件好长哦。那个启动log有全部的配置信息呀。
    然后我怀疑是cisco vpn被干扰的原因。
    hcw1588
        4
    hcw1588  
       Jul 30, 2013
    @after1990s 你做了iptables转发了吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2877 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 55ms · UTC 11:01 · PVG 19:01 · LAX 04:01 · JFK 07:01
    ♥ Do have faith in what you're doing.