sync
@@ -37,7 +37,7 @@
|
||||
- [x] 权限管理,主客户端拥有完全权限,可导出、配置子客户端配置,分配其管理权限
|
||||
- [x] 自定义验证,通过`HTTP POST`让你可以自定义认证是否允许`连接信标`,`中继`,`内网穿透`
|
||||
- [x] 流量统计,统计服务器`信标`、`中继`、`内网穿透` 的流量情况
|
||||
- [ ] 网络配置,主客户端设置网络,所有客户端自动分配IP
|
||||
- [x] 网络配置,主客户端设置网络,所有客户端自动分配IP
|
||||
- [ ] 分布式,中继,内网穿透分布式,可实现负载均衡
|
||||
|
||||
|
||||
|
||||
@@ -19,6 +19,9 @@ sidebar_position: 1
|
||||
- [x] 权限管理,主客户端拥有完全权限,可导出、配置子客户端配置,分配其管理权限
|
||||
- [x] 自定义验证,通过`HTTP POST`让你可以自定义认证是否允许`连接信标`,`中继`,`内网穿透`
|
||||
- [x] 流量统计,统计服务器`信标`、`中继`、`内网穿透` 的流量情况
|
||||
- [x] 网络配置,主客户端设置网络,所有客户端自动分配IP
|
||||
- [ ] 分布式,中继,内网穿透分布式,可实现负载均衡
|
||||
|
||||
|
||||
#### 1.2、加入组织
|
||||
<a href="https://jq.qq.com/?_wv=1027&k=ucoIVfz4" target="_blank">你可以加入QQ群:1121552990</a>
|
||||
|
||||
@@ -7,8 +7,7 @@ sidebar_position: 3
|
||||
:::tip[说明]
|
||||
|
||||
1. 默认信标密钥为空,表示所有客户端皆可连接信标服务器,你可以填写密钥,不为空时,客户端需要填写正确的密钥才能连接
|
||||
2. 在服务端 `configs/server.json` 复制中继密钥(`SignIn->SecretKey`),在客户端中,双击密钥一栏,填写中继密钥
|
||||
2. 在服务端 `configs/server.json` 复制中继密钥(`SignIn->SecretKey`),在客户端中填写
|
||||
|
||||

|
||||

|
||||

|
||||
:::
|
||||
|
||||
BIN
linker.doc.web/docs/2、首次运行/img/signin.png
Normal file
|
After Width: | Height: | Size: 195 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 85 KiB |
@@ -5,8 +5,7 @@ sidebar_position: 2
|
||||
# 4.2、中继
|
||||
|
||||
:::tip[说明]
|
||||
在服务端 `configs/server.json` 复制中继密钥(`Relay->SecretKey`),在客户端中,双击密钥一栏,填写中继密钥
|
||||
在服务端 `configs/server.json` 复制中继密钥(`Relay->SecretKey`),在客户端中填写
|
||||
|
||||

|
||||

|
||||

|
||||
:::
|
||||
|
||||
BIN
linker.doc.web/docs/3、打洞和中继/img/relay.png
Normal file
|
After Width: | Height: | Size: 195 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 100 KiB |
@@ -18,7 +18,6 @@ sidebar_position: 7
|
||||
3. `TunnelPortRange` 用于开放一个端口范围,提供给客户端动态添加端口监听,每个端口对应不同的TCP+UDP服务
|
||||
4. `SecretKey` 为密钥,客户端填写此密钥,才能使用穿透
|
||||
|
||||

|
||||

|
||||
:::
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 195 KiB |
|
Before Width: | Height: | Size: 301 KiB After Width: | Height: | Size: 310 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 116 KiB |
@@ -211,7 +211,14 @@ namespace linker.tun
|
||||
LinkerTunDevicPacket packet = new LinkerTunDevicPacket();
|
||||
packet.Unpacket(buffer);
|
||||
|
||||
await linkerTunDeviceCallback.Callback(packet).ConfigureAwait(false);
|
||||
try
|
||||
{
|
||||
await linkerTunDeviceCallback.Callback(packet).ConfigureAwait(false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
error = ex.Message;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ module.exports = defineConfig({
|
||||
productionSourceMap: process.env.NODE_ENV === 'production' ? false : true,
|
||||
outputDir: '../public/extends/any/web',
|
||||
transpileDependencies: true,
|
||||
publicPath: './',
|
||||
publicPath: '/',
|
||||
devServer: {
|
||||
port: 8081
|
||||
}
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
using linker.config;
|
||||
using linker.libs.api;
|
||||
using linker.libs.extends;
|
||||
using linker.plugins.client;
|
||||
using linker.plugins.capi;
|
||||
using linker.plugins.messenger;
|
||||
|
||||
namespace linker.plugins.relay
|
||||
{
|
||||
@@ -13,16 +11,14 @@ namespace linker.plugins.relay
|
||||
public sealed class RelayApiController : IApiClientController
|
||||
{
|
||||
private readonly FileConfig config;
|
||||
private readonly ClientSignInState clientSignInState;
|
||||
private readonly IMessengerSender messengerSender;
|
||||
private readonly RelayTestTransfer relayTestTransfer;
|
||||
|
||||
public RelayApiController(FileConfig config,RelayTestTransfer relayTestTransfer)
|
||||
public RelayApiController(FileConfig config, RelayTestTransfer relayTestTransfer)
|
||||
{
|
||||
this.config = config;
|
||||
this.relayTestTransfer = relayTestTransfer;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 设置中继协议
|
||||
/// </summary>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
v1.5.0
|
||||
2024-10-23 11:36:32
|
||||
2024-10-23 23:49:56
|
||||
1. 新增多分组管理,方便分组切换
|
||||
2. 增加分组密码,提高分组隔离安全性
|
||||
3. 优化配置同步,可自由选择同步哪些信息
|
||||
|
||||