1
0
Fork 0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-07-17 23:44:14 +00:00

Add domainStrategy to outbound &

Add preferIPv4/6 to domainStrategy
This commit is contained in:
世界 2021-09-13 14:50:18 +08:00
parent 14aa152a8a
commit ea94d07f65
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
4 changed files with 223 additions and 64 deletions
app/proxyman

View file

@ -88,12 +88,22 @@ message InboundHandlerConfig {
message OutboundConfig {}
enum DomainStrategy {
AS_IS = 0;
USE_IP = 1;
USE_IP4 = 2;
USE_IP6 = 3;
PREFER_IP4 = 4;
PREFER_IP6 = 5;
}
message SenderConfig {
// Send traffic through the given IP. Only IP is allowed.
xray.common.net.IPOrDomain via = 1;
xray.transport.internet.StreamConfig stream_settings = 2;
xray.transport.internet.ProxyConfig proxy_settings = 3;
MultiplexingConfig multiplex_settings = 4;
DomainStrategy domain_strategy = 5;
}
message MultiplexingConfig {