allow udp

This commit is contained in:
Evgeny Nerush 2024-10-31 23:13:10 +03:00
parent 4ec900a80d
commit d128adb290
2 changed files with 13 additions and 13 deletions

View file

@ -104,7 +104,7 @@
"id": "client_id", "id": "client_id",
"email": "client_email", "email": "client_email",
"encryption": "none", "encryption": "none",
"flow": "xtls-rprx-vision" "flow": "xtls-rprx-vision-udp443"
} }
] ]
} }
@ -154,12 +154,12 @@
], ],
"outboundTag": "api" "outboundTag": "api"
}, },
// guide udp traffic to `direct` outbound // uncomment before installation to guide udp traffic to `direct` outbound
{ //{
"type": "field", // "type": "field",
"network": "udp", // "network": "udp",
"outboundTag": "direct" // "outboundTag": "direct"
}, //},
// block localhost connections through xray // block localhost connections through xray
{ {
"type": "field", "type": "field",

View file

@ -42,12 +42,12 @@
], ],
"outboundTag": "api" "outboundTag": "api"
}, },
// guide udp traffic to `block` outbound // uncomment before installation to guide udp traffic to `block` outbound
{ //{
"type": "field", // "type": "field",
"network": "udp", // "network": "udp",
"outboundTag": "block" // "outboundTag": "block"
}, //},
// block localhost connections through xray // block localhost connections through xray
{ {
"type": "field", "type": "field",