gxfxyz / unblockchn Goto Github PK
View Code? Open in Web Editor NEWUnblock CHN - Shadowsocks 回国解锁代理分流配置工具 (路由器 & Surge) - Unblock Youku 衍生工具
License: GNU Affero General Public License v3.0
Unblock CHN - Shadowsocks 回国解锁代理分流配置工具 (路由器 & Surge) - Unblock Youku 衍生工具
License: GNU Affero General Public License v3.0
国内ss服务器搭建好了,家里路由器也设置好了,但是连上同一个路由的电脑没有版权限制了,手机上访问uku.im/check 也显示true,但是手机的腾讯视频app和优酷app都一直提示版权问题
加了一个 v.qq.com解决了。
不知道是不是因为最新版本的问题 我配置了 没问题
但是 就是 代理不成功
在电脑上用了SSR 代理没问题
但是放到了路由器上运行了 然后访问 还是不走代理
请问怎么排查?
✔ 保存 ipset 载入命令到路由器的 nat-start 启动脚本中:/jffs/scripts/nat-start
iptables: No chain/target/match by that name.
Command 'iptables -t nat -A PREROUTING -p tcp -m set --match-set chn dst -j REDIRECT --to-port 1080' returned non-zero exit status 1.
Traceback (most recent call last):
File "unblockchn.py", line 956, in
main()
File "unblockchn.py", line 44, in main
Router.execute(sys.argv[2:])
File "unblockchn.py", line 88, in execute
cls.cmd_setup(raw_args[1:])
File "unblockchn.py", line 214, in cmd_setup
cls.setup_ipset_iptables()
File "unblockchn.py", line 458, in setup_ipset_iptables
cls.add_iptables_chn()
File "unblockchn.py", line 586, in add_iptables_chn
subprocess.check_call(ADD_IPTABLES_CHN_CMD, shell=True)
File "/subprocess.py", line 341, in check_call
subprocess.CalledProcessError: Command 'iptables -t nat -A PREROUTING -p tcp -m set --match-set chn dst -j REDIRECT --to-port 1080' returned non-zero exit status 1.
如题,on/off指令也似乎无效。不清楚是什么原因
平台:AC88u,改版梅林7.9.1
建议:鉴于目前故障原因未知,妥协方案为增加一个reset选项,连续执行restore和setup。通过指令行或shortcuts一键执行修复。
Hi,
set-up --no-ss运行之后国内网站都访问不了了。我删掉底下这个规则就可以了。
iptables -t nat -D PREROUTING -p tcp -m set --match-set chn dst -j REDIRECT --to-port 1080
可以故障转移切换之类的 万分感谢
renew命令里面没有destroy blacklist,需要手动destroy
您好,
我刚才对这个程序进行了一点小改动,添加了常规PAC和ACL文件 (给SS和其他软件用), 请问可以添加到您这边代码内吗?
执行
iptables -t nat -A PREROUTING -p tcp -m set --match-set chn dst -j REDIRECT --to-port 1080
错误:
iptables: No chain/target/match by that name.
我用的是改版梅林固件 380.70_0-X7.9
路由器:netgear R6300v2
iptables:1.4.14
ipset: 6.32
kernel: 2.6.36
http://ipset.netfilter.org/iptables-extensions.man.html
Use of -m set requires that ipset kernel support is provided, which, for standard kernels, is the case since Linux 2.6.39.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.