应用层SNAT

This commit is contained in:
snltty
2025-04-20 17:31:18 +08:00
parent d00d79fadf
commit 1f5f3c45ec
2 changed files with 3 additions and 3 deletions

View File

@@ -71,10 +71,10 @@ namespace linker.tun
if (OperatingSystem.IsWindows() == false || (RuntimeInformation.ProcessArchitecture != Architecture.X86 && RuntimeInformation.ProcessArchitecture != Architecture.X64))
{
error = "only windows x64,x86";
error = "only win x64 and win x86";
return false;
}
if (dsts == null || dsts.Length == 0)
if (src == null || dsts == null || dsts.Length == 0)
{
error = "src is null, or dsts empty";
return false;

View File

@@ -1,5 +1,5 @@
v1.7.3
2025-04-20 17:23:15
2025-04-20 17:31:17
1. 优化自动分配IP
2. 优化网卡,排除不明数据包
3. 虚拟网卡点对网IP映射用于解决网段冲突