setup shadowsocks&kcptun on openwrt, global transparent proxy for all client device.
Newifi Y1S < CPU: MT7620, RAM: 256M, target: ramips, architecture: mipsel_24kc > Newifi Y1S - install Openwrt with KCPTun& ShadowSocks
Netgear-WNDR4300 V1 < CPU: Atheros AR9344, RAM: 128M, architecture: mips_24kc > WNDR4300 install OpenWrt 18.06.1 with SS, KCP WNDR4300
Run OpenWrt 18.06.2 with SS+Kcp On VMware
1.Services-Kcptun Client
Server Manage - Add Kcptun Server
server ip: kcp server ip
server port: kcp port
local ip: 127.0.0.1
local port: xxxxx (any port you like)
Kcptun - Settings
Server: kcp server
Client File: /var/kcptun_client
2.Service-Shadowsocks config
ShadowSocks - Servers Manage
Add SS Server --> Kcp Client
server: 127.0.0.1
port: xxxxx
ShadowSocks - Access Control
Zone WAN
Bypassed IP List : NULL As global proxy
Forwarded IP: 8.8.8.8
ShadowSocks - General Settings -
Transparent Proxy
choose the ss server config
3.Save&Apply, check running status. If SS&KCP not running, check the logs
Listen Port:5353
Listen Address:127.0.0.1
DNS Server:8.8.8.8
General Settings
DNS Forwarder: 127.0.0.1#5353
Resolv and Hosts Files:(Must checked)
Ignore resolve file: checked
client's dns query -> Router:53 -> Router:5353 ->8.8.8.8:53
open any website in browser , and router is working..
http://openwrt-dist.sourceforge.net/
http://openwrt-dist.sourceforge.net/packages/
http://openwrt-dist.sourceforge.net/archives/
https://my.oschina.net/CasparLi/blog/487458
https://blog.phpgao.com/xiaomi_router_shadowsocks_libev_spec.html
OpenWRT Transparent Proxy (Shadowsocks-libev Access Control, Pure-DNS)
http://www.gonewto.com/?post/v4kfyi
https://cokebar.info/archives/1704