From d128adb29065296fc785e88d179aa29c349c5e82 Mon Sep 17 00:00:00 2001 From: Evgeny Nerush Date: Thu, 31 Oct 2024 23:13:10 +0300 Subject: [PATCH] allow udp --- template_config_client.jsonc | 14 +++++++------- template_config_server.jsonc | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/template_config_client.jsonc b/template_config_client.jsonc index 7c160e2..ffae55e 100644 --- a/template_config_client.jsonc +++ b/template_config_client.jsonc @@ -104,7 +104,7 @@ "id": "client_id", "email": "client_email", "encryption": "none", - "flow": "xtls-rprx-vision" + "flow": "xtls-rprx-vision-udp443" } ] } @@ -154,12 +154,12 @@ ], "outboundTag": "api" }, - // guide udp traffic to `direct` outbound - { - "type": "field", - "network": "udp", - "outboundTag": "direct" - }, + // uncomment before installation to guide udp traffic to `direct` outbound + //{ + // "type": "field", + // "network": "udp", + // "outboundTag": "direct" + //}, // block localhost connections through xray { "type": "field", diff --git a/template_config_server.jsonc b/template_config_server.jsonc index 387b385..4a45e52 100644 --- a/template_config_server.jsonc +++ b/template_config_server.jsonc @@ -42,12 +42,12 @@ ], "outboundTag": "api" }, - // guide udp traffic to `block` outbound - { - "type": "field", - "network": "udp", - "outboundTag": "block" - }, + // uncomment before installation to guide udp traffic to `block` outbound + //{ + // "type": "field", + // "network": "udp", + // "outboundTag": "block" + //}, // block localhost connections through xray { "type": "field",