Add configurable TUN IPv4/IPv6 addresses

https://github.com/2dust/v2rayN/issues/9810
This commit is contained in:
2dust
2026-07-24 10:13:08 +08:00
parent fd2c942231
commit e749b81ecf
13 changed files with 154 additions and 19 deletions
@@ -149,6 +149,8 @@ public class TunModeItem
public string IcmpRouting { get; set; }
public bool EnableLegacyProtect { get; set; }
public List<string>? RouteExcludeAddress { get; set; }
public string Ipv4Address { get; set; }
public string Ipv6Address { get; set; }
}
[Serializable]
@@ -255,6 +257,7 @@ public class Fragment4RayItem
// For migration from old version, remove those properties in the future
public string? Length { get; set; }
public string? Interval { get; set; }
// migration end
}