Skip to content

kkbeta/ali

Repository files navigation

阿里云免费CDT实例自动检测流量进行限制(主流量,即流量出入取大),并相应增加/删除 dns 记录

wget https://raw.githubusercontent.com/kkbeta/ali/main/monitor_traffic.sh
wget https://raw.githubusercontent.com/kkbeta/ali/main/change_cloudflare_dns_ip_record.sh
wget https://raw.githubusercontent.com/kkbeta/ali/main/README.monitor_traffic
wget https://raw.githubusercontent.com/kkbeta/ali/main/README.change_cloudflare_dns_ip_record
apt-get install -y iptables bc vnstat
chmod +x monitor_traffic.sh change_cloudflare_dns_ip_record.sh
bash monitor_traffic.sh 190 1 3
(crontab -l ; echo "* * * * * /root/monitor_traffic.sh 190 1 3 eth0 > /root/脚本日志.txt") | crontab -

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages