2016-08-25 15:55:49 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2016-09-26 09:14:16 -04:00
|
|
|
package v2ray.core.proxy.freedom;
|
2016-12-22 18:24:28 -05:00
|
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Freedom";
|
2022-01-02 10:16:23 -05:00
|
|
|
option go_package = "github.com/v2fly/v2ray-core/v5/proxy/freedom";
|
2016-09-26 09:14:16 -04:00
|
|
|
option java_package = "com.v2ray.core.proxy.freedom";
|
2017-02-03 17:15:10 -05:00
|
|
|
option java_multiple_files = true;
|
2016-08-25 15:55:49 -04:00
|
|
|
|
2020-08-24 08:10:26 -04:00
|
|
|
import "common/protocol/server_spec.proto";
|
2021-09-04 16:30:38 -04:00
|
|
|
import "common/protoext/extensions.proto";
|
2017-01-26 17:05:24 -05:00
|
|
|
|
|
|
|
message DestinationOverride {
|
|
|
|
v2ray.core.common.protocol.ServerEndpoint server = 1;
|
|
|
|
}
|
|
|
|
|
2016-08-25 15:55:49 -04:00
|
|
|
message Config {
|
|
|
|
enum DomainStrategy {
|
|
|
|
AS_IS = 0;
|
|
|
|
USE_IP = 1;
|
2018-11-19 15:36:46 -05:00
|
|
|
USE_IP4 = 2;
|
|
|
|
USE_IP6 = 3;
|
2016-08-25 15:55:49 -04:00
|
|
|
}
|
2017-01-26 17:05:24 -05:00
|
|
|
DomainStrategy domain_strategy = 1;
|
2017-11-27 16:09:30 -05:00
|
|
|
uint32 timeout = 2 [deprecated = true];
|
2017-01-26 17:05:24 -05:00
|
|
|
DestinationOverride destination_override = 3;
|
2017-11-27 16:09:30 -05:00
|
|
|
uint32 user_level = 4;
|
2017-01-26 17:05:24 -05:00
|
|
|
}
|
2021-09-04 16:30:38 -04:00
|
|
|
|
|
|
|
message SimplifiedConfig {
|
|
|
|
option (v2ray.core.common.protoext.message_opt).type = "outbound";
|
|
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "freedom";
|
|
|
|
}
|