Ubuntu22
更新
apt update
升级
apt upgrade
开启IPV6
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
#在主机里的etc->sysctl.conf 打开将里面的1全部改成0
重启
reboot
开启BBR
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
lsmod | grep bbr
BT——婆姐版
wget -O install.sh http://bt-cloud.us/install/install_6.0.sh && bash install.sh
安装防火墙
sudo apt install ufw
开放TCP所有端口
sudo ufw allow 1:65535/tcp
开放UDP所有端口
sudo ufw allow 1:65535/udp
查看端口状态
sudo ufw status verbose
安装Nginx
apt install nginx
启动防火墙
sudo ufw enable
禁用防火墙
sudo ufw disable
根据规则号删除防火墙
sudo ufw status numbered
sudo ufw delete 3
PageG
GitHub - 3Kmfi6HP/EDtunnel: Use Cloudflare pages and worker serverless to implement VLESS protocol
https://github.com/zizifn/edgetunnel
V2-Xr-Sing
bash <(wget -qO- -o- https://github.com/233boy/sing-box/raw/main/install.sh)
八合一13k
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
X面板YG
GitHub - yonggekkk/x-ui-yg: x-ui精简修改版脚本,集成argo固定、临时隧道功能,支持多节点聚合订阅、sing-box订阅、clash-meta订阅的配置输出
bash <(curl -Ls https://raw.githubusercontent.com/yonggekkk/x-ui-yg/main/install.sh)
X面板FK
bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)
MT-GO1
GitHub - whunt1/onekeymakemtg: 编译安装最新版 mtproxy-go 一键脚本
wget -N --no-check-certificate https://github.com/whunt1/onekeymakemtg/raw/master/mtproxy_go.sh && chmod +x mtproxy_go.sh && bash mtproxy_go.sh
MT-GO2-选第三个
GitHub - ChellyL/Docker-mtproto: 安装docker版mtproto的脚本
wget https://raw.githubusercontent.com/ChellyL/Docker-mtproto/main/go_mtg.sh && bash go_mtg.sh
客户端