LumaTunnel
【WinUI】LumaTunnel 是一个面向个人多设备的 Windows 代理系统。客户端在本机提供 HTTP/HTTPS CONNECT 与 SOCKS5 TCP 代理,并通过一个受信任 TLS 证书保护的 WSS 会话,将多个 TCP 流复用到自建 Windows Server 节点。
关注
0
Fork
0
Star
0
using LumaTunnel.Shared.Models;
namespace LumaTunnel.Client.Profiles;
public sealed record ClientProfile
{
public int HttpPort { get; init; } = 7890;
public int SocksPort { get; init; } = 7891;
public ProxyMode Mode { get; init; } = ProxyMode.Rule;
public bool CloseToTray { get; init; } = true;
public bool StartAtLogin { get; init; }
public string Theme { get; init; } = "System";
public string DeviceId { get; init; } = Guid.NewGuid().ToString("N");
public List<NodeProfile> Nodes { get; init; } = [];
public List<RoutingRule> Rules { get; init; } = [];
}
using LumaTunnel.Shared.Models;
namespace LumaTunnel.Client.Profiles;
public sealed record ClientProfile
{
public int HttpPort { get; init; } = 7890;
public int SocksPort { get; init; } = 7891;
public ProxyMode Mode { get; init; } = ProxyMode.Rule;
public bool CloseToTray { get; init; } = true;
public bool StartAtLogin { get; init; }
public string Theme { get; init; } = "System";
public string DeviceId { get; init; } = Guid.NewGuid().ToString("N");
public List<NodeProfile> Nodes { get; init; } = [];
public List<RoutingRule> Rules { get; init; } = [];
}