Files
infrastructure/configs/vps03-xray-client.md
T
hermes 8dfaa2a719 vpn chain vps02->vps03: VLESS+WS+TLS via Caddy entry, WG egress vps03
- chain entry xray-chain container on vps02 (127.0.0.1:18443), Caddy
  handle /vless-chain -> reverse_proxy (chat.nixg.ru:443)
- egress via vps03 XRay :50002 over WG mesh, verified egress IP
  77.67.89.154 (curl, UDP/DNS)
- SS-2022: blocked by Cloud.ru firewall (18338 closed externally),
  cipher name 2022-blake3-aes-128-gcm noted for future use
- client configs: v2rayNG vps02-chain + Clash Verge block
  (no v2ray-http-upgrade), direct vps03 config kept
- openspec change add-shadowsocks-chain-vps02-vps03 (proposal/design/
  tasks/specs), configs/, STATUS.md; skill vpn-proxy-chain-setup
2026-10-16 16:57:05 +00:00

52 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# vps03 XRay — рабочая конфигурация (проверено 2026-10-16)
Прямое подключение клиентов к vps03 подтверждено (v2rayNG и Clash Verge работают).
## Сервер (vps03, 77.67.89.154)
- XRay 26.9.9, systemd: `xray.service`
- Конфиг: /usr/local/etc/xray/config.json
- Inbound: VLESS + WebSocket (network: ws), порт 50002, без TLS
- uuid: cf4d32e5-9c19-460e-a5de-f881b01dcfe1
- wsSettings: path "/", headers Host "discord.com"
- Outbound: freedom (direct)
- Логи: /var/log/xray/{access,error}.log
## Клиент — v2rayNG (Android)
URL:
```
vless://cf4d32e5-9c19-460e-a5de-f881b01dcfe1@77.67.89.154:50002?encryption=none&security=none&type=ws&host=discord.com&path=%2F#vps03-WS
```
Поля: Address 77.67.89.154, Port 50002, UUID cf4d32e5-9c19-460e-a5de-f881b01dcfe1,
Flow пусто, Encryption none, Network ws, Path /, Host discord.com, TLS выкл.
## Клиент — Clash Verge (компьютер)
```yaml
append:
- type: 'vless'
name: 'vps03-WS'
server: '77.67.89.154'
port: 50002
uuid: 'cf4d32e5-9c19-460e-a5de-f881b01dcfe1'
network: 'ws'
tls: false
udp: true
ws-opts:
path: '/'
headers:
Host: 'discord.com'
```
## Критично
- НЕ ставить `v2ray-http-upgrade: true` — сервер слушает классический WebSocket (101 Switching Protocols), а httpupgrade — другой транспорт. С ним таймаут.
- TLS выключен (WS plain): маскировка за счёт Host-заголовка, ClientHello не шлётся.
- ICMP не проксируется через VLESS — проверять TCP (curl).
## Проверка
```
curl -x <proxy> -s https://ifconfig.me # → 77.67.89.154
```