mirror of
https://github.com/snltty/linker.git
synced 2025-11-03 01:53:32 +08:00
新增基于端口映射的打洞协议和修复端口转发潜在BUG
This commit is contained in:
14
.github/workflows/dotnet.yml
vendored
14
.github/workflows/dotnet.yml
vendored
@@ -48,16 +48,16 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: '${{ secrets.ACTIONS_TOKEN }}'
|
||||
with:
|
||||
tag_name: v1.2.0.0
|
||||
release_name: v1.2.0.0.${{ steps.date.outputs.today }}
|
||||
tag_name: v1.2.0.1
|
||||
release_name: v1.2.0.1.${{ steps.date.outputs.today }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
body: |
|
||||
1. 托盘检查
|
||||
2. 停止服务清理网卡
|
||||
3. 打洞错误
|
||||
4. 网关层级计算修复(在linux下计算错误导致打洞失败)
|
||||
5. 修复在IPV6环境下域名解析缓慢问题
|
||||
1. 网关层级计算修复(在linux下计算错误导致打洞失败)
|
||||
2. 修复在IPV6环境下域名解析缓慢问题
|
||||
3. 新增基于端口映射的打洞协议
|
||||
4. 修复端口转发潜在BUG
|
||||
5. 请更新服务端
|
||||
|
||||
- name: upload win x64
|
||||
id: upload-win-x64
|
||||
|
||||
@@ -14,7 +14,13 @@ sidebar_position: 1
|
||||
6. 打洞失败回退、这需要你中继部署服务器进行中继通信
|
||||
7. 少量的内存占用、易用的web管理页面、高性能的通信
|
||||
|
||||
<a href="https://jq.qq.com/?_wv=1027&k=ucoIVfz4" target="_blank">你可以加入QQ群:1121552990 </a>
|
||||
:::tip[加入组织]
|
||||
|
||||
<a href="https://jq.qq.com/?_wv=1027&k=ucoIVfz4" target="_blank">你可以加入QQ群:1121552990,可以申请一些免费的中继服务器 </a>
|
||||
|
||||
:::
|
||||
|
||||
|
||||
|
||||
## 2、感谢支持
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ sidebar_position: 1
|
||||
## 1、支持msquic
|
||||
|
||||
1. 在windows,如果提示不支持msquic,可以到 <a target="_blank" href="https://github.com/microsoft/msquic/releases/latest">msquic</a> 下载合适你系统的版本,覆盖根目录下的msquic.dll,一般来说,win10或以下版本,需要openssl版本的msquic
|
||||
2. 再linux,请按<a target="_blank" href="https://github.com/dotnet/runtime/tree/main/src/libraries/System.Net.Quic">官方说明</a>安装msquic
|
||||
2. 在linux,请按<a target="_blank" href="https://github.com/dotnet/runtime/tree/main/src/libraries/System.Net.Quic">官方说明</a>安装msquic
|
||||
|
||||
## 2、打洞协议调整
|
||||
|
||||
|
||||
@@ -4,7 +4,13 @@ sidebar_position: 2
|
||||
|
||||
# 4.2、中继
|
||||
|
||||
在打洞失败后,会自动尝试中继,中继需要服务器支持,需要配置服务器中继密钥
|
||||
:::tip[说明]
|
||||
|
||||
在打洞失败后,会尝试中继连接,中继需要服务器支持
|
||||
|
||||
:::
|
||||
|
||||
|
||||
|
||||
## 1、配置中继密钥
|
||||
|
||||
|
||||
24
linker.doc.web/docs/4、打洞和中继/4.3、端口映射.md
Normal file
24
linker.doc.web/docs/4、打洞和中继/4.3、端口映射.md
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
---
|
||||
|
||||
# 4.3、端口映射
|
||||
|
||||
:::tip[说明]
|
||||
|
||||
这适合什么场景呢,你有公网IP,你可以在光猫映射端口,但是你希望只用一个端口,去访问多个服务
|
||||
|
||||
:::
|
||||
|
||||
## 2、打洞协议调整
|
||||
|
||||
在光猫配置好端口映射后,填写你的映射端口,两台将要连接的设备之间,有一台做映射即可。
|
||||
|
||||

|
||||

|
||||
|
||||
## 3、调整打洞协议的顺序
|
||||
|
||||
确保支持这种连接方式的打洞协议(**TcpPortMap**)排在第一位,这样才会优先去连接你的映射端口
|
||||
|
||||

|
||||
BIN
linker.doc.web/docs/4、打洞和中继/img/portmap.png
Normal file
BIN
linker.doc.web/docs/4、打洞和中继/img/portmap.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 134 KiB |
BIN
linker.doc.web/docs/4、打洞和中继/img/portmap1.png
Normal file
BIN
linker.doc.web/docs/4、打洞和中继/img/portmap1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 175 KiB |
BIN
linker.doc.web/docs/4、打洞和中继/img/portmap2.png
Normal file
BIN
linker.doc.web/docs/4、打洞和中继/img/portmap2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 187 KiB |
@@ -15,8 +15,8 @@
|
||||
<PackageProjectUrl>https://github.com/snltty/linker</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/snltty/linker</RepositoryUrl>
|
||||
<Version>1.2.0</Version>
|
||||
<AssemblyVersion>1.2.0.0</AssemblyVersion>
|
||||
<FileVersion>1.2.0.0</FileVersion>
|
||||
<AssemblyVersion>1.2.0.1</AssemblyVersion>
|
||||
<FileVersion>1.2.0.1</FileVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DebugType>full</DebugType>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
<PackageProjectUrl>https://github.com/snltty/linker</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/snltty/linker</RepositoryUrl>
|
||||
<PackageReleaseNotes>snltty service</PackageReleaseNotes>
|
||||
<AssemblyVersion>1.2.0.0</AssemblyVersion>
|
||||
<FileVersion>1.2.0.0</FileVersion>
|
||||
<AssemblyVersion>1.2.0.1</AssemblyVersion>
|
||||
<FileVersion>1.2.0.1</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
<PackageProjectUrl>https://github.com/snltty/linker</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/snltty/linker</RepositoryUrl>
|
||||
<PackageReleaseNotes>linker tunnel</PackageReleaseNotes>
|
||||
<AssemblyVersion>1.2.0.0</AssemblyVersion>
|
||||
<FileVersion>1.2.0.0</FileVersion>
|
||||
<AssemblyVersion>1.2.0.1</AssemblyVersion>
|
||||
<FileVersion>1.2.0.1</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</el-row>
|
||||
</el-form-item>
|
||||
<el-form-item label="" prop="alert">
|
||||
<div>光猫映射了端口后,可以直接连接,需要把TcpPortMap调到第一</div>
|
||||
<div>光猫映射了端口后,可以直接连接,把TcpPortMap调到第一</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="">
|
||||
<el-row>
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
<PackageProjectUrl>https://github.com/snltty/linker</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/snltty/linker</RepositoryUrl>
|
||||
<PackageReleaseNotes>linker</PackageReleaseNotes>
|
||||
<AssemblyVersion>1.2.0.0</AssemblyVersion>
|
||||
<FileVersion>1.2.0.0</FileVersion>
|
||||
<AssemblyVersion>1.2.0.1</AssemblyVersion>
|
||||
<FileVersion>1.2.0.1</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user