mirror of
https://github.com/snltty/linker.git
synced 2025-10-21 08:09:26 +08:00
自动同步
This commit is contained in:
@@ -388,8 +388,11 @@ namespace linker.tunnel
|
||||
}
|
||||
//在尝试外网
|
||||
eps.AddRange(new List<IPEndPoint>{
|
||||
//有NAT
|
||||
new IPEndPoint(tunnelTransportInfo.Remote.Remote.Address,tunnelTransportInfo.Remote.Remote.Port),
|
||||
new IPEndPoint(tunnelTransportInfo.Remote.Remote.Address,tunnelTransportInfo.Remote.Remote.Port+1),
|
||||
//无NAT
|
||||
new IPEndPoint(tunnelTransportInfo.Remote.Remote.Address,tunnelTransportInfo.Remote.Local.Port),
|
||||
});
|
||||
//再尝试IPV6
|
||||
foreach (IPAddress item in tunnelTransportInfo.Remote.LocalIps.Where(c => c.AddressFamily == AddressFamily.InterNetworkV6))
|
||||
|
Reference in New Issue
Block a user