2
0
mirror of https://github.com/gnu4cn/ccna60d.git synced 2024-05-21 04:55:00 +08:00

20160916, openwrt-shadowsocks

This commit is contained in:
Peng Hailin 2016-09-16 17:06:05 +08:00
parent 4dc5f4320d
commit 4914724787
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
1. 安装openwrt镜像
2. 上传`shadowsock-libev-polorissl`
3. `opkg update``opkg install shadowsock-libev-polorissl`
4. `wget -O- 'http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest' | awk -F\| '/CN\|ipv4/ { printf("%s/%d\n", $4, 32-log($5)/log(2)) }' > /etc/chinadns_chnroute.txt`
5. 按照教程一步一步来
- dnsmasq
- `/etc/init.d/shadowsocks`
- `/usr/bin/shadowsocks-firewall`
- `/usr/bin/chinalist`
- `/etc/dnsmasq.d/blockad.conf`
- `/usr/bin/blockad`
- `crontab -e`