From e4c65deda8b4d3dbf19ed6955931946207dd8e21 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sun, 21 May 2023 15:05:15 +0800 Subject: [PATCH] Add fakeip for sing-box --- v2rayN/v2rayN/Mode/SingboxConfig.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/v2rayN/v2rayN/Mode/SingboxConfig.cs b/v2rayN/v2rayN/Mode/SingboxConfig.cs index ed5ada0e..ffc1f01e 100644 --- a/v2rayN/v2rayN/Mode/SingboxConfig.cs +++ b/v2rayN/v2rayN/Mode/SingboxConfig.cs @@ -22,6 +22,13 @@ { public List servers { get; set; } public List rules { get; set; } + public string? final { get; set; } + public string? strategy { get; set; } + public bool? disable_cache { get; set; } + public bool? disable_expire { get; set; } + public bool? independent_cache { get; set; } + public bool? reverse_mapping { get; set; } + public Fakeip4Sbox? fakeip { get; set; } } public class Route4Sbox @@ -195,4 +202,11 @@ public List? outbounds { get; set; } public List? users { get; set; } } + + public class Fakeip4Sbox + { + public bool enabled { get; set; } + public string inet4_range { get; set; } + public string inet6_range { get; set; } + } } \ No newline at end of file