Add a second local listening port

https://github.com/2dust/v2rayN/issues/6321
This commit is contained in:
2dust
2024-12-22 20:03:20 +08:00
parent 6a9b62ab9a
commit 472963fe2d
20 changed files with 293 additions and 215 deletions

View File

@@ -24,21 +24,16 @@
public class InItem
{
public int LocalPort { get; set; }
public string Protocol { get; set; }
public bool UdpEnabled { get; set; }
public bool SniffingEnabled { get; set; } = true;
public List<string>? DestOverride { get; set; } = ["http", "tls"];
public bool RouteOnly { get; set; }
public bool AllowLANConn { get; set; }
public bool NewPort4LAN { get; set; }
public string User { get; set; }
public string Pass { get; set; }
public bool SecondLocalPortEnabled { get; set; }
}
[Serializable]