Всем привет.
Хотел настроить VPN вида:
-
Сначала трафик идёт на ru vds
-
Потом на иностранный
Делаю конфиг по всем инструкциям в интернете:
Ниже конфиг (настраиваю всё в панели 3x-UI:
И у меня не срабатывает подключение к моему RU VPS прям сразу же.
Конфиг
{
“dns”: {
“hosts”: {
“cloudflare-dns.com”: “1.1.1.1”,
“dns.google”: “8.8.8.8”
},
“queryStrategy”: “UseIPv4”,
“servers”: [
“8.8.8.8”,
{
“address”: “8.8.8.8”,
“domains”: ,
“port”: 53
},
{
“address”: “77.88.8.8”,
“domains”: ,
“port”: 53
}
]
},
“inbounds”: [
{
“listen”: “127.0.0.1”,
“port”: 10808,
“protocol”: “socks”,
“settings”: {
“auth”: “noauth”,
“udp”: true,
“userLevel”: 8
},
“sniffing”: {
“destOverride”: [“http”, “tls”, “quic”],
“enabled”: true
},
“tag”: “socks”
},
{
“listen”: “127.0.0.1”,
“port”: 10809,
“protocol”: “http”,
“settings”: {
“userLevel”: 8
},
“sniffing”: {
“destOverride”: [“http”, “tls”, “quic”],
“enabled”: true
},
“tag”: “http”
}
],
“log”: {
“loglevel”: “warning”
},
“outbounds”: [
{
“tag”: “proxy”,
“protocol”: “vless”,
“settings”: {
“vnext”: [
{
“address”: “<SERVER_IP_REDACTED>”,
“port”: 443,
“users”: [
{
“id”: “<UUID_REDACTED>”,
“flow”: “xtls-rprx-vision”,
“encryption”: “none”,
“level”: 8
}
]
}
]
},
“streamSettings”: {
“network”: “tcp”,
“security”: “reality”,
“realitySettings”: {
“publicKey”: “<PUBLIC_KEY_REDACTED>”,
“shortId”: “<SHORT_ID_REDACTED>”,
“serverName”: “ads.x5.ru”,
“fingerprint”: “chrome”,
“spiderX”: “/”,
“allowInsecure”: false
}
}
},
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP"
}
},
{
"tag": "block",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
}
}
],
“routing”: {
“domainStrategy”: “IPIfNonMatch”,
“rules”: [
{
“ip”: [“8.8.8.8”],
“port”: 53,
“outboundTag”: “proxy”
},
{
“ip”: [“77.88.8.8”],
“port”: 53,
“outboundTag”: “direct”
}
]
}
}
Вот что происходит в логах Happ при подключении:
Логи Happ
+0300 2026-04-08 17:04:48 INFO [93156909 1ms] outbound/direct[direct]: outbound connection to ip_моего_сервера:443
+0300 2026-04-08 17:04:52 ERROR [1030999162 9.84s] connection: connection download closed: raw-read tcp 127.0.0.1:55119->127.0.0.1:10808: An existing connection was forcibly closed by the remote host.
+0300 2026-04-08 17:04:52 ERROR [1033578774 9.47s] connection: connection upload closed: raw-read tcp4 172.18.0.1:51275->172.18.0.2:10011: An existing connection was forcibly closed by the remote host.
+0300 2026-04-08 17:04:53 ERROR [1012999707 9.99s] connection: connection download closed: raw-read tcp 127.0.0.1:55118->127.0.0.1:10808: An existing connection was forcibly closed by the remote host.
+0300 2026-04-08 17:04:52 ERROR [1179493059 9.65s] connection: connection upload closed: raw-read tcp4 172.18.0.1:51275->172.18.0.2:10007: An existing connection was forcibly closed by the remote host.
На мобильном клиенте Happ помогает включить фрагментирование + включить шумы. И тогда трафик течёт и всё работает. Но урезена скорость с 500 мегабит до 90. На ПК клиенте Happ вообще ничего не помогает. Тот же конфиг просто не работает.
Подскажите пожалуйста что можно изменить/перенастроить и тд, чтобы завелось. Куда копать?