mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-10-01 11:28:06 +03:00
Like sing-box's strict_route, strictRoute is now false by default, so the Windows Filtering Platform filters are only added when it is set to true (together with autoSystemRoutingTable). With unset meaning false, strict_route becomes a plain bool field. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
527 B
Protocol Buffer
21 lines
527 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package xray.proxy.tun;
|
|
option csharp_namespace = "Xray.Proxy.Tun";
|
|
option go_package = "github.com/xtls/xray-core/proxy/tun";
|
|
option java_package = "com.xray.proxy.tun";
|
|
option java_multiple_files = true;
|
|
|
|
message Config {
|
|
string name = 1;
|
|
uint32 MTU = 2;
|
|
repeated string gateway = 3;
|
|
repeated string DNS = 4;
|
|
uint32 user_level = 5;
|
|
repeated string auto_system_routing_table = 6;
|
|
string auto_outbounds_interface = 7;
|
|
string desc = 8;
|
|
bool auto_system_dns = 9;
|
|
bool strict_route = 10;
|
|
}
|