namespace Netch.Models;
///
/// TUN/TAP 适配器配置类
///
public class TUNConfig
{
///
/// 地址
///
public string Address { get; set; } = "10.0.236.10";
///
/// DNS
///
public string DNS { get; set; } = Constants.DefaultPrimaryDNS;
///
/// 网关
///
public string Gateway { get; set; } = "10.0.236.1";
///
/// 掩码
///
public string Netmask { get; set; } = "255.255.255.0";
///
/// 模式 2 下是否代理 DNS
///
public bool ProxyDNS { get; set; } = false;
///
/// 使用自定义 DNS 设置
///
public bool UseCustomDNS { get; set; } = false;
///
/// Global bypass IPs
///
public List BypassIPs { get; set; } = new();
}