vps各种检测使用脚本
目录
这篇文章介绍了几种vps使用脚本
注意
注1、脚本均收集自网络。
1 检测使用脚本
1.1 流媒体解锁检测脚本
选择自己vps的地区即可
bash <(curl -L -s https://raw.githubusercontent.com/1-stream/RegionRestrictionCheck/main/check.sh)
1.2 配置DNS服务器
在Debian系统中,DNS配置需要修改/etc/resolv.conf
文件。
sudo nano /etc/resolv.conf
1.3 IP质量检测脚本
输入回车等待检测完成即可
bash <(curl -Ls IP.Check.Place)
1.4 三网回程测试脚本
输入回车等待检测完成即可
curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh
1.5 ssl证书申请脚本
简单教程,邮箱需要改一下,不能用默认的@example.com
curl https://get.acme.sh | sh -s email=my@example.com
1.6 合理上网脚本
作者教程,一般能直接打开,不行可能需要合理上网才能打开
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh
1.7 iptables端口转发脚本
用来在中转机上配置端口转发。
bash <(curl -fsSL https://raw.githubusercontent.com/arloor/iptablesUtils/master/natcfg.sh)
1.8 shellcrash
github文档,用来在软路由上配置透明代理。
sudo -i #切换到root用户,如果需要密码,请输入密码
bash #如已处于bash环境可跳过
export url='https://fastly.jsdelivr.net/gh/juewuy/ShellCrash@master' && wget -q --no-check-certificate -O /tmp/install.sh $url/install.sh && bash /tmp/install.sh && source /etc/profile &> /dev/null