Skip to content
/ Xray Public

Xray 是一个灵活、功能强大的代理工具,特别适合需要隐蔽性高、抗封锁能力强的网络代理需求。

License

Notifications You must be signed in to change notification settings

passeway/Xray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

终端预览

preview

一键脚本

bash <(curl -fsSL xray-bay.vercel.app)

项目简介

  • 输出客户端配置 url 方便快速设置

  • 安装 Xray 配置 ss vless-reality 协议

  • 自带 wireguard 出站解锁openai netflix disney

Xray指令

启动 Xray 服务

sudo systemctl start xray

停止 Xray 服务

sudo systemctl stop xray

重启 Xray 服务

sudo systemctl restart xray

检查 Xray 状态

sudo systemctl status xray

重载 Xray.service

sudo systemctl daemon-reload

修改 Xray.service

nano /etc/systemd/system/xray.service

检查 config.json

/usr/local/bin/xray run -config /usr/local/etc/xray/config.json

Acme 证书

安装 certbot

sudo apt update
sudo apt install certbot

输入 domain

sudo certbot certonly --standalone -d example.com

复制 fullchain

cp /etc/letsencrypt/live/example.com/fullchain.pem /usr/local/etc/xray/fullchain.pem
cp /etc/letsencrypt/live/example.com/privkey.pem /usr/local/etc/xray/privkey.pem
sudo chmod 755 /usr/local/etc/xray/fullchain.pem
sudo chmod 755 /usr/local/etc/xray/privkey.pem

About

Xray 是一个灵活、功能强大的代理工具,特别适合需要隐蔽性高、抗封锁能力强的网络代理需求。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages