DNS , ICMP Redirector

Child process handle
This commit is contained in:
AmazingDM
2021-03-06 14:04:50 +08:00
parent 12559d8192
commit 4b3d6fb3bf
7 changed files with 303 additions and 94 deletions

View File

@@ -158,14 +158,24 @@ namespace Netch.Models
public int ModeComboBoxSelectedIndex { get; set; } = 0;
/// <summary>
/// 要修改为的系统 DNS
/// 转发DNS地址
/// </summary>
public string ModifiedDNS { get; set; } = "1.1.1.1,8.8.8.8";
public string RedirectDNSAddr { get; set; } = "8.8.8.8";
/// <summary>
/// 修改系统 DNS
/// 是否开启DNS转发
/// </summary>
public bool ModifySystemDNS { get; set; } = false;
public bool RedirectDNS { get; set; } = false;
/// <summary>
/// 转发ICMP地址
/// </summary>
public string RedirectICMPAddr { get; set; } = "1.2.4.8";
/// <summary>
/// 是否开启ICMP转发
/// </summary>
public bool RedirectICMP { get; set; } = false;
/// <summary>
/// GFWList
@@ -202,6 +212,11 @@ namespace Netch.Models
/// </summary>
public bool RedirectorSS { get; set; } = false;
/// <summary>
/// 是否代理子进程
/// </summary>
public bool ChildProcessHandle { get; set; } = false;
/// <summary>
/// Redirector TCP 占用端口
/// </summary>