SSR/V2RAY

By | 2020年2月23日

SSRMU

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/ssrmu.sh && chmod +x ssrmu.sh && bash ssrmu.sh

BBR/锐速

wget ---no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh


./tcp.sh

Yum      

yum -y update

yum -y install wget

NAT产品获取外网IP

curl ip.sb

主机测试

wget -qO- bench.sh | bash
wget -qO- sb.oldking.net | bash

curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast

wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh

V2RAY

1.bash <(curl -sL https://raw.githubusercontent.com/hijkpw/scripts/master/goV2.sh)

2.配置文件为/etc/v2ray/config.json

3.cat命令可查看内容:cat /etc/v2ray/config.json

4.port(端口)、clients中的id(用户id)和alterId(额外id

5. ss -ntlp | grep v2ray 命令可以查看v2ray是否正在运行如果输出为空,大概率是被selinux限制了,解决办法如下:
(1)禁用selinux:setenforce 0;
(2)重启v2ray:systemctl restart v2ray

root 账号

sudo -i

bash <(curl -s -L https://git.io/v2ray.sh)

如果提示 curl: command not found

请安装 Curl

ubuntu/debian 系统安装 Curl 方法: apt-get update -y && apt-get install curl -y

centos 系统安装 Curl 方法: yum update -y && yum install curl -y

# firewalld放行端口(适用于CentOS7/8)
firewall-cmd --zone=public --add-port=2201/tcp --permanent # 2201改成你配置文件中的端口号
firewall-cmd --reload
# ufw放行端口(适用于ubuntu)
ufw allow 23581/tcp # 23581改成你的端口号
# iptables 放行端口(适用于CentOS 6/7)
iptables -I INPUT -p tcp --dport 23581 -j ACCEPT
# 设置开机启动
systemctl enable v2ray
# 运行v2ray
systemctl start v2ray

奈飞测试

使用脚本前请确认curl已安装
bash <(curl -L -s check.unlock.media)
只检测IPv4结果:
bash <(curl -L -s check.unlock.media) -M 4
只检测IPv6结果:
bash <(curl -L -s check.unlock.media) -M 6
指定检测的网卡名称:
bash <(curl -L -s check.unlock.media) -I eth0
选择脚本语言为英文:
bash <(curl -L -s check.unlock.media) -L e
或者直接运行以下Docker命令 (兼容ARM架构)
docker run --rm -ti --net=host lmc999/regioncheck && docker rmi lmc999/regioncheck

wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.61/nf_2.61_linux_amd64 && chmod +x nf && clear && ./nf