proxy.ini各項參數(shù)介紹
(相關(guān)鏈接https://code.google.com/p/goagent/wiki/ConfigIntroduce)3.1.0 系列版本[listen]#監(jiān)聽ip,如果需要允許局域網(wǎng)/公網(wǎng)使用,設(shè)
(相關(guān)鏈接https://code.google.com/p/goagent/wiki/ConfigIntroduce)
3.1.0 系列版本
[listen]
#監(jiān)聽ip,如果需要允許局域網(wǎng)/公網(wǎng)使用,設(shè)為0.0.0.0即可
ip = 127.0.0.1
#使用GAE服務(wù)端的默認8087端口,如有需要你可以修改成其他的
port = 8087
#8087端口驗證的用戶名和密碼,設(shè)置后可以防止局域網(wǎng)內(nèi)其他人使用你的GoAgent
username =
password =
#啟動后goagent窗口是否可見,0為不可見(最小化至托盤),1為不最小化
visible = 1
#是否顯示詳細debug信息
debuginfo = 0
#GAE服務(wù)端的配置
[gae]
#你的Google app engine AppID,也就是服務(wù)器部署的APPID,配置多ID用|隔開
appid = goagent
#密碼,默認為空,你可以在server目錄的wsgi.py設(shè)定,如果設(shè)定了,此處需要與wsgi,py保持一致
password = 123456
#服務(wù)端路徑,一般不用修改,如果不懂也不要修改.
path = /2
#使用http還是https(SSL加密傳輸)連接至GAE
mode = https
#填ipv6則使用[ipv6/hosts][ipv6/http],默認ipv4使用[ipv4/hosts][ipv4/http]設(shè)置
#此項設(shè)置意義與之前版本不同。非IPv6環(huán)境無需考慮,請勿隨意修改
profile = ipv4
#ip評優(yōu)算法每次選出的ip數(shù)量
window = 4
#是否開啟流量混淆
obfuscate = 0
#是否對服務(wù)器證書進行驗證
validate = 0
# 如果設(shè)置為 rc4 則開啟rc4加密,需在password設(shè)置密碼,否則不開啟,一般mode為https時無需開啟
options =
#根據(jù)IP所在地區(qū)設(shè)置是否直連,比如regions = cn|jp可以讓國內(nèi)和日本的網(wǎng)站走直連。更多國家請見http://dev.maxmind.com/geoip/legacy/codes/iso3166/
regions =
# 用于連接GAE的IP列表
[iplist]
google_cn = 203.208.46.131|203.208.46.132|203.208.46.133|203.208.46.134|203.208.46.135|203.208.46.136|203.208.46.137|203.208.46.138
google_hk = www.google.com|mail.google.com|www.google.com.hk|www.google.com.tw|www.l.google.com|mail.l.google.com
google_ipv6 = 2404:6800:4005:c00::64|2404:6800:4005:c00::65|2404:6800:4005:c00::5e|2404:6800:4005:c00::67|2404:6800:4005:c00::2f
# 匹配的會使用crlf并且直連,=后留空則使用遠程DNS解析,也可以手動指定IP防止因解析失敗而無法使用,將IP寫等號后面。
# google_hk則表示使用[iplist]中的google_hk下的IP,google_cn則表示使用[iplist]中的google_cn下的IP
[ipv4/hosts]
s0.googleusercontent.com = google_hk
s1.googleusercontent.com = google_hk
s2.googleusercontent.com = google_hk
s3.googleusercontent.com = google_hk
s4.googleusercontent.com = google_hk
s5.googleusercontent.com = google_hk
s6.googleusercontent.com = google_hk
gp0.googleusercontent.com = google_hk
gp1.googleusercontent.com = google_hk
gp2.googleusercontent.com = google_hk
gp3.googleusercontent.com = google_hk
gp4.googleusercontent.com = google_hk
gp5.googleusercontent.com = google_hk
gp6.googleusercontent.com = google_hk
themes.googleusercontent.com = google_hk
producer.googleusercontent.com =