It supports to configure shadowsocks-rust tproxy(redir) and dns acl on openwrt, with LuCI interface.
Wish it helps.
- download the last ipk release file.
System(系统)
->Software Package(软件包)
->Upload(上传安装)
Or scp
and opkg install shadowproxy_xxx.ipk
In main setting, it is better to set your local dns server, which could be found in /tmp/resolve.conf.ppp
or /tmp/resolv.conf.d/resolv.conf.auto
.
Add your shadowsocks servers in the server section. It's better to configure both ipv4 and ipv6 for one same server together. It will check which ip route is better to reach the server.
Click Save&Apply
sslocal
, the executable shadowsocks-rust binary file is extracted from shadowsocks-rust releases. For convenient and security, the repo contains asslocal
file, which contains updated features for better network connection. If you have any security concerns, please compile from the source code with featureslocal-dns,local-redir,security-replay-attack-detect
.nftables
andiptables
, now it supports onlynftables
, which requires less coding work.
All configuration files are under /etc/shadowproxy
. A config-template.json
file is updated by the /etc/init.d/shadowproxy
with uci configuration from /etc/config/shadowproxy
.
- enable/disable service
- .github action to package ipk
- support to enable socks&http proxy
-
support plugins -
support iptables for openwrt-21 - support x86_64-musl platforms
- support more shadowsocks-rust configurations
- add shadowsocks server configuration bash script
- support multi GFW blocked countries (any help is welcome)
-
Installed but not appears in browser
rm -rf /tmp/luci-*
- In Chrome
Developer Tools -> Network -> Disable Cache
-
How to install without
ipk
- Copy sslocal to
/usr/bin/sslocal
- Copy
htdocs/*
to/www/
- Copy
root/*
to/
/etc/init.d/shadowproxy enable
- Copy sslocal to
-
First time configuration (bug to fix)
- The
/etc/init.d/shadowproxy
will configdnsmasq
server automatically. If you did not set the correct server, you may not be able to reach network, because no dns server available. Configure your server and save apply.
- The
-
Supported Devices
- aarch64-musl (armv8)
-
Why plugins are not suggested?
- the plugins support in shadowsocks-rust, it starts another child process to auto proxy packets. which consumes hardware resources. And in such case, it is recommended that using v2ray or clash directly.
-
What is
err_cert_common_name_invalid
- It caused by the ipv4 and ipv6 rotate changes. When it has dns cache in transparent proxy, which could be resolved as ipv6 address. However, the proxy server accesses the address with ipv4 outbound interface. It crashes.
- And, if it does not resolve, restart the dnsmasq to clear the dns cache.
- And, restart the browser or clear all caches.
-
How to support openwrt-21
- Check the openwrt nftables doc
- opkg update && opkg install nftables kmod-nft-tproxy
-
How to set up shadowsocks-rust server
- the x86-64 gnu file
ssserver
is also supplied.
- the x86-64 gnu file
-
How to support other countries?
- Change the ip set in
chnip4.ips
andchnip6.ips
, by default, no update is required forshadowproxy-dns-base.acl
, and redir will proxy all data. Any PR is welcome
- Change the ip set in