git地址
[url]https://github.com/lcy0828/clnc.git[/url]
博客地址
[url]https://blog.lcy.pub/[/url]
[img]https://tc.lcy.pub//tourist/dd0820313013245.png[/img]
具体使用方法(暂时只在m520原厂固件使用)据测试其他固件无法代理udp:
此clnc版本可以在m520完美代理udp打王者
第一种(路由器):下载整个压缩包
第二种(使用其他版本或者在用版本):压缩包内3.sh至clnc目录内
将 开启.sh 改为 start.sh 状态.sh 改为 status.sh
并执行 sh /sbin/clnc/status.sh > /sbin/clnc/1.txt
查看1.txt内的正在运行或者没有运行 在具体哪一行
修改3.sh内27改为具体行数
最后在crontab 添加
/1 * bash /sbin/clnc/3.sh &
/30 rm -rf /sbin/clnc/*.log &
自行修改检测频率和删除日志频率
路由器为定时任务添加或者crontab -e
开机自启:
路由器为自启选项添加
sh /sbin/clnc/start.sh
或者ssh内
vim /etc/rc.local
在exit 0;
前添加