mirror of
https://github.com/netchx/netch.git
synced 2026-04-01 19:15:09 +08:00
Fix repository
This commit is contained in:
36
Netch/Models/Modes/ProcessMode/ProcessMode.cs
Normal file
36
Netch/Models/Modes/ProcessMode/ProcessMode.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
namespace Netch.Models.Modes.ProcessMode;
|
||||
|
||||
public class Redirector : Mode
|
||||
{
|
||||
public override ModeType Type => ModeType.ProcessMode;
|
||||
|
||||
#region Base
|
||||
|
||||
public bool? FilterICMP { get; set; }
|
||||
|
||||
public bool? FilterTCP { get; set; }
|
||||
|
||||
public bool? FilterUDP { get; set; }
|
||||
|
||||
public bool? FilterDNS { get; set; }
|
||||
|
||||
public bool? FilterParent { get; set; }
|
||||
|
||||
public int? ICMPDelay { get; set; }
|
||||
|
||||
public bool? DNSProxy { get; set; }
|
||||
|
||||
public bool? HandleOnlyDNS { get; set; }
|
||||
|
||||
public string? DNSHost { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
public bool FilterLoopback { get; set; } = false;
|
||||
|
||||
public bool FilterIntranet { get; set; } = true;
|
||||
|
||||
public List<string> Bypass { get; set; } = new();
|
||||
|
||||
public List<string> Handle { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user