sudo apt-get install *
sudo apt-get install polipo
编辑polipo config:
sudo vim /etc/polipo/config
加入以下内容:
socksParentProxy = "localhost:1080"
socksProxyType = socks5
logLevel=
重启服务:
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:
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: minutes
Format: AutoProxy
Obfuscation: Base64
- Select Mode: Use proxies based on their pre-defined patterns and priorities