proxy config (firefox config)

Posted ibg

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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 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

 

以上是关于proxy config (firefox config)的主要内容,如果未能解决你的问题,请参考以下文章

vue.config.js的proxy为啥不起作用

Angular 的 proxy-config.json 代理配置文件相关

vite.config.ts 配置proxy

代理:Selenium + Python、Firefox

vue.config.js中配置proxy代理https

vue.config.js中配置proxy代理https