zoukankan      html  css  js  c++  java
  • proxy config (firefox config)

    sudo apt-get install shadowsocks
    sudo apt-get install polipo

    编辑polipo config:

    sudo vim /etc/polipo/config

    加入以下内容:

    socksParentProxy = "localhost:1080"
    socksProxyType = socks5
    logLevel=4

    重启服务:

    sudo service polipo stop
    sudo service polipo start

    用法:

    http_proxy=http://localhost:8123 go get github.com/xxxxxxx
    https_proxy=http://localhost:8123 go get -u -v github.com/mattn/go-sqlite3

    firefox foxyproxy standard (4.6.5) config:

    - Proxies
        Add New Proxy
        - General
          Enabled
            Proxy Name : ss
        - Proxy Details
          Manual Proxy Configuration
            Server or IP Address: 127.0.0.1 Port:1080
            SOCKS proxy? SOCKS v5
    - Pattern Subscriptions
      Add New Pattern Subscription Go
        Enabled
          Subscription Name: gwflist
          Subscription URL:https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt
          Proxies - Add Proxies - ss
          Refresh Rate: 720 minutes
          Format: AutoProxy
          Obfuscation: Base64
    - Select Mode: Use proxies based on their pre-defined patterns and priorities
  • 相关阅读:
    第十周学习进度条
    第九周学习进度条
    Runner站立会议08
    Runner站立会议07
    构建之法阅读笔记02
    Runner站立会议04
    学习进度条
    Runner站立会议01
    进度条
    返回一个一维整数数组中最大子数组的和
  • 原文地址:https://www.cnblogs.com/ibgo/p/8526765.html
Copyright © 2011-2022 走看看