config.proto 943 B

1234567891011121314151617181920212223242526272829303132
  1. syntax = "proto3";
  2. package xray.app.tun;
  3. option csharp_namespace = "Xray.App.Tun";
  4. option go_package = "github.com/xtls/xray-core/app/tun";
  5. option java_package = "com.xray.app.tun";
  6. option java_multiple_files = true;
  7. message Config {
  8. string interface_name = 1;
  9. repeated string inet4_address = 2;
  10. repeated string inet6_address = 3;
  11. uint32 mtu = 4;
  12. bool auto_route = 5;
  13. bool strict_route = 6;
  14. repeated string inet4_route_address = 7;
  15. repeated string inet6_route_address = 8;
  16. bool endpoint_independent_nat = 9;
  17. int64 udp_timeout = 10;
  18. string stack = 11;
  19. repeated uint32 include_uid = 12;
  20. repeated string include_uid_range = 13;
  21. repeated uint32 exclude_uid = 14;
  22. repeated string exclude_uid_range = 15;
  23. repeated int32 include_android_user = 16;
  24. repeated string include_package = 17;
  25. repeated string exclude_package = 18;
  26. // for xray
  27. bool auto_detect_interface = 100;
  28. bool override_android_vpn = 101;
  29. }