2020-11-25 14:01:53 +03:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package xray.proxy.freedom;
|
|
|
|
option csharp_namespace = "Xray.Proxy.Freedom";
|
2020-12-04 04:36:16 +03:00
|
|
|
option go_package = "github.com/xtls/xray-core/proxy/freedom";
|
2020-11-25 14:01:53 +03:00
|
|
|
option java_package = "com.xray.proxy.freedom";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
|
|
|
import "common/protocol/server_spec.proto";
|
|
|
|
|
|
|
|
message DestinationOverride {
|
|
|
|
xray.common.protocol.ServerEndpoint server = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Config {
|
|
|
|
enum DomainStrategy {
|
|
|
|
AS_IS = 0;
|
|
|
|
USE_IP = 1;
|
|
|
|
USE_IP4 = 2;
|
|
|
|
USE_IP6 = 3;
|
|
|
|
}
|
|
|
|
DomainStrategy domain_strategy = 1;
|
|
|
|
uint32 timeout = 2 [deprecated = true];
|
|
|
|
DestinationOverride destination_override = 3;
|
|
|
|
uint32 user_level = 4;
|
|
|
|
}
|