replace eycorsican/go-tun2socks with aiocloud/tun2socks(WinTUN)

This commit is contained in:
ChsBuffer
2021-03-26 17:50:57 +08:00
parent f8148cb730
commit a080de6ca4
17 changed files with 262 additions and 310 deletions

View File

@@ -6,7 +6,7 @@ namespace Netch.Models
/// <summary>
/// TUN/TAP 适配器配置类
/// </summary>
public class TUNTAPConfig
public class TUNConfig
{
/// <summary>
/// 地址
@@ -37,11 +37,6 @@ namespace Netch.Models
/// 使用自定义 DNS 设置
/// </summary>
public bool UseCustomDNS { get; set; } = false;
/// <summary>
/// 使用Fake DNS
/// </summary>
public bool UseFakeDNS { get; set; } = false;
}
public class KcpConfig
@@ -280,7 +275,7 @@ namespace Netch.Models
/// <summary>
/// TUNTAP 适配器配置
/// </summary>
public TUNTAPConfig TUNTAP { get; set; } = new();
public TUNConfig WinTUN { get; set; } = new();
/// <summary>
/// 是否打开软件时更新订阅