50% 折扣 所有计划,时间有限。开始于 $2.48/mo
V2Ray

V2Ray

重要目录和文件 V2Ray 二进制文件:/usr/local/bin/v2ray 数据文件(geoip、geosite):/usr/local/share/v2ray/ 日志:/var/log/v2ray/ 服务器配置:/usr/local/etc/v2ray/config.json 客户端配置:/root/client.json(127.0.0.1:1080 上的 SOCKS5) VMESS 共享 URL:/root/client.vmess (base64编码,可导入V2Ray客户端) 管理服务 systemctl start v2ray\u00a0 \u00a0 \u00a0 # 启动服务 systemctl stop v2ray\u00a0 \u00a0 \u00a0 \u00a0# 停止服务 systemctl [...]

版本

最新的

操作系统

Ubuntu 服务器 24.04 LTS

分钟。内存

1 GB

IP类型

IPV4,IPV6

重要目录和文件

  • V2Ray 二进制文件: /usr/local/bin/v2ray
  • 数据文件(geoip、geosite): /usr/local/share/v2ray/
  • 日志: /var/log/v2ray/
  • 服务器配置: /usr/local/etc/v2ray/config.json
  • 客户端配置: /root/client.json (SOCKS5 上 127.0.0.1:1080)
  • VMESS 分享网址: /root/client.vmess (base64编码,可导入V2Ray客户端)

管理服务

systemctl start v2ray      # Start service
systemctl stop v2ray       # Stop service
systemctl restart v2ray    # Reload configs
systemctl status v2ray     # Show status
journalctl -u v2ray -f     # Live logs

如何连接

选项 A:使用客户端配置 (client.json)

1. 复制 /root/client.json 到您的本地计算机。

2.本地运行V2Ray:

v2ray run -config client.json

3. 配置您的浏览器/系统以使用 SOCKS5 代理:

Host: 127.0.0.1
Port: 1080

选项 B:使用 VMESS URL

1. 打开 /root/client.vmess 并复制网址。

2. 将其导入客户端应用程序。

编辑配置

服务器配置: /usr/local/etc/v2ray/config.json

修改示例:更改端口 10086443 为了更好地规避防火墙。

编辑后:

systemctl restart v2ray

安全说明

  • 这是一个非常简单的演示设置 - 高级用户必须自行配置和强化它。
  • 使用域名 + TLS(通过 Nginx + certbot)进行隐秘操作。
  • 对 UUID 保密;再生: v2ray uuid

 

更多安全知识

相关应用程序。

立即部署 V2Ray。 每月 2.48 美元起。