use polipo for shadowsocks

README

implementation

ubuntu

1
sudo apt-get install polipo

then sudo vim /etc/polipo/config, as following

1
2
socksParentProxy = "localhost:1080"
socksProxyType = socks5

then

1
2
sudo service polipo stop
sudo service polipo start

mac

1
brew install polipo

then edit ~/.polipo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
proxyAddress = "0.0.0.0"  
proxyPort = 8123
allowedClients = 127.0.0.1, 10.0.1.0/24
allowedPorts = 1-65535
tunnelAllowedPorts = 1-65535
proxyName = "localhost"
cacheIsShared = false
socksParentProxy = "127.0.0.1:1080"
socksProxyType = socks5
# chunkHighMark = 33554432
# diskCacheRoot = ""
# localDocumentRoot = ""
disableLocalInterface = true
disableConfiguration = true
dnsUseGethostbyname = yes
disableVia = true
censoredHeaders = from,accept-language,x-pad,link
censorReferer = maybe

then

1
brew services start polipo

trouble shooting


本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!