newwifi is MTK board(MediaTek MT7620A), find the builds for ramips
- go to https://github.com/shadowsocks/openwrt-shadowsocks/releases
- download
shadowsocks-libev_2.6.0-1_ramips_24kec.ipk
from Precompiled Download - download luci-app-shadowsocks_1.3.7-1_all.ipk
- download [ChinaDNS_1.3.2_ramips_24kec.ipk] from https://github.com/aa65535/openwrt-chinadns/releases
- download [luci-app-chinadns_1.6.0-1_all.ipk] from https://github.com/aa65535/openwrt-dist-luci/releases
- download openwrt firmware from here
- Restore the route to factory default unless it's a brand-new opened box.
- 路由设置-> 高级功能 -> 局域网设置 -> 网关ip地址(set router ip from 192.168.99.1 to 192.168.1.1)
- Disconnect the power cable.
- Connect the route to a laptop/desktop with a ethernet cable on LAN port.
- Set IP address on the laptop /desktop to 192.168.1.11 with Netmask as 255.255.255.0, Gateway as 192.168.1.1
- Insert the power cable and QUICKLY press the RESET button in rear panel.
- If previous step was done properly, two LEDs on the routing will be blinking. That's a sign for recovery mode.
- Type 192.168.1.1 in the Web browser address bar.
- On recovery Web page, select the downloaded openwrt bin file.
- Click flash and wait.
- now you can change router ip to 192.168.2.1 to differentiate from your moderm(optional)
- Meanwhile, you may want to restore the IP settings on laptop/desktop to Automatic(DHCP)
- connect your wifi to your internet
- login to
ssh [email protected]
orssh [email protected]
- update the router with
opkg update
just be patient here, it takes a while - you can change your openwrt router to chinese version now in admin/system/system
scp *.ipk [email protected]:/tmp/
orscp *.ipk [email protected]:/tmp/
ssh [email protected]
orssh [email protected]
cd /tmp
thenopkg install
these ipks
also the following packages
opkg update
opkg install samba36-server
opkg install luci-app-samba
opkg install libmount
opkg install iptables-mod-tproxy
opkg install ddns-scripts
opkg install luci-app-ddns
opkg install luci-i18n-base-zh-cn
opkg install kmod-mt76
- go to your router admin page, Use transparent proxy to config your shadowsocks server ip and port number
- go to services/shadowsocks/access-control save and apply
- go to service/chinadns save and apply
- go to network/dhcp and dns, change local server to
127.0.0.1#5353
- try google.com now
Check ip address
- check your ISP ip addres
- check your proxy ip address
http://geekwagner.blogspot.com/2017/07/using-haproxy-shadowsocks-ha-ss-to.html