从 dnsmasq-china-list 和你的定制的文件中创建privoxy的action文件来加快网络连接。 配置privoxy使其直连在dnsmasq-china-list中的域名。
generate privoxy action from dnsmasq-china-list and your custom file to accelerate connection. configure privoxy to connect to the domain in dnsmasq-china-list directly.
下载或更新dnsmasq-china-list配置文件(需要wget)。
./update_dnsmasq-china-list
生成并且安装privoxy的action。
如果添加CUSTOM_DOMIN
参数,把CUSTOM_DOMIN
追加到custom.txt
。
./privoxy2direct [CUSTOM_DOMIN]
./privoxy2direct .jandan.net
download or update dnsmasq-china-list conf files (require wget).
./update_dnsmasq-china-list
generate and install privoxy action. if CUSTOM_DOMIN
is passed, add CUSTOM_DOMIN
to custom.txt
.
./privoxy2direct [CUSTOM_DOMIN]
./privoxy2direct .jandan.net