mirror of
https://gitverse.ru/kpa39l/infrastructure.git
synced 2026-11-27 14:33:13 +00:00
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
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user