2020-07-28 11:00:23 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package v2ray.core.proxy.vless.inbound;
|
|
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Vless.Inbound";
|
2021-02-16 15:31:50 -05:00
|
|
|
option go_package = "github.com/v2fly/v2ray-core/v4/proxy/vless/inbound";
|
2020-07-28 11:00:23 -04:00
|
|
|
option java_package = "com.v2ray.core.proxy.vless.inbound";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
2020-08-24 08:10:26 -04:00
|
|
|
import "common/protocol/user.proto";
|
2021-09-05 10:59:42 -04:00
|
|
|
import "common/protoext/extensions.proto";
|
2020-07-28 11:00:23 -04:00
|
|
|
|
|
|
|
message Fallback {
|
2020-08-28 03:51:09 -04:00
|
|
|
string alpn = 1;
|
|
|
|
string path = 2;
|
|
|
|
string type = 3;
|
|
|
|
string dest = 4;
|
|
|
|
uint64 xver = 5;
|
2020-07-28 11:00:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
message Config {
|
2020-08-28 03:51:09 -04:00
|
|
|
repeated v2ray.core.common.protocol.User clients = 1;
|
2020-10-04 20:36:40 -04:00
|
|
|
// Decryption settings. Only applies to server side, and only accepts "none"
|
|
|
|
// for now.
|
2020-07-28 11:00:23 -04:00
|
|
|
string decryption = 2;
|
2020-08-28 03:51:09 -04:00
|
|
|
repeated Fallback fallbacks = 3;
|
2020-07-28 11:00:23 -04:00
|
|
|
}
|
2021-09-05 10:59:42 -04:00
|
|
|
|
2021-09-08 11:18:53 -04:00
|
|
|
message SimplifiedConfig {
|
2021-09-05 10:59:42 -04:00
|
|
|
option (v2ray.core.common.protoext.message_opt).type = "inbound";
|
|
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "vless";
|
|
|
|
|
|
|
|
repeated string users = 1;
|
|
|
|
}
|