atlassian private:
https://intbird.atlassian.net/wiki/spaces/~644199061/pages/431030273/openwrt-fly
flastboot:
cat /proc/cpuinfo
openwrt:
packages:
http://openwrt-dist.sourceforge.net/packages/
sftp:
bash:
opkg update && opkg install openssh-sftp-server lcui:
1. upload ipk from admin web
2. opkg install /tmp/upload.ipk
opkg:
http://wiki.openmoko.org/wiki/Opkg/Documentation
opkg --nodeps install opkg install --force-overwrite
opkg update opkg install luci-i18n-base-*
opkg install openssh-sftp-server
opkg install luci-compat opkg install zerotier_*.ipk
opkg --force-removal-of-dependent-packages install apache
Mount UDisk
Scheduled Tasks (Reboot)
https://openwrt.org/docs/guide-user/base-system/cron
cat /etc/crontabs/root

30 4 * * * sleep 70 && touch /etc/banner && reboot
0 0 * * * 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
Net:
/etc/config/zerotier
option enabled 1
service zerotier start
zerotier-cli join
Proxy
s:
https://openwrt.org/docs/guide-user/services/proxy/start
https://launchpad.net/ubuntu/+source/simple-obfs
https://github.com/shadowsocks/v2ray-plugin/releases/tag/v1.3.1
testing: obfs-local -h & v2ray-plugin
v:
github: core & cui & luci-compat & config & tansport
testing: vfly -config config.json
dev-log:
/usr/bin/v2ray --config=/var/etc/v2ray/v2ray.main.json
China DNS:
https://github.com/shadowsocks/ChinaDNS


DNS Settings
!!! s speed than v, so…
!!! DNS resolve must be use ip direct connect

!!! Bypass other devices

!!! Bypass local network ips
cat “192.168.1.0/24” >> /etc/chinadns_chnroute.txt
&
192.168.1.0/24
192.168.20.0/24
192.168.192.0/24
1.1.1.1
8.8.8.8