This commit is contained in:
snltty
2025-05-12 21:56:59 +08:00
parent 24418ee37f
commit eeb3406052
70 changed files with 814 additions and 488 deletions

View File

@@ -13,81 +13,76 @@
# .NET8.0、linker、link anywhere
![GitHub Repo stars](https://img.shields.io/github/stars/snltty/linker?style=social)
![GitHub Repo forks](https://img.shields.io/github/forks/snltty/linker?style=social)
[![star](https://gitee.com/snltty/linker/badge/star.svg?theme=dark)](https://gitee.com/snltty/linker/stargazers)
[![fork](https://gitee.com/snltty/linker/badge/fork.svg?theme=dark)](https://gitee.com/snltty/linker/members)
[![Stars](https://img.shields.io/github/stars/snltty/linker?style=flat)](https://github.com/snltty/linker)
[![Forks](https://img.shields.io/github/forks/snltty/linker?style=flat)](https://github.com/snltty/linker)
[![Docker Pulls](https://img.shields.io/docker/pulls/snltty/linker-musl?style=flat)](https://hub.docker.com/r/snltty/linker-musl)
[![Release](https://img.shields.io/github/v/release/snltty/linker?sort=semver)](https://github.com/snltty/linker/releases)
[![License](https://img.shields.io/github/license/snltty/linker)](https://mit-license.org/)
<a href="https://linker.snltty.com">Website</a><a href="https://linker-doc.snltty.com">Documentation</a><a href="https://jq.qq.com/?_wv=1027&k=ucoIVfz4" target="_blank">Join QQ Group</a>
[README](README.md) | [中文说明](README_zh.md)
**Users are responsible for complying with local laws and regulations. It must not be used for illegal or criminal purposes.**
<a href="https://linker.snltty.com">官方网站</a><a href="https://linker-doc.snltty.com">使用说明文档</a><a href="https://jq.qq.com/?_wv=1027&k=ucoIVfz4" target="_blank">加入组织1121552990</a>
</div>
## Overview
## ⛔免责声明
Using P2P or server relay, connect multiple LANs to enable communication between any networked devices across these LANs.
**linker** 基于 [GPL-2.0 License](https://opensource.org/licenses/GPL-2.0) 发布,完全免费提供,旨在“按现状”供用户使用。作者及贡献者不对使用本软件所产生的任何直接或间接后果承担责任,包括但不限于性能下降、数据丢失、服务中断、或任何其他类型的损害。
**无任何保证**:本软件不提供任何明示或暗示的保证,包括但不限于对特定用途的适用性、无侵权性、商用性及可靠性的保证。
**用户责任**:使用本软件即表示您理解并同意承担由此产生的一切风险及责任,使用人员有责任和义务遵守当地法律条规,请勿用于违法犯罪。
## 🚩大概意思
使用p2p或者中继转发让你的各个局域网连通起来让各个局域网内的任意联网设备都可以相互连通
<div align="center">
<p><img src="./readme/linker.jpg"></p>
</div>
## Platforms
## 💡主要功能
| | amd64 | x86 | arm64 | arm |
|-------|-------|-------|-------|-------|
| Windows | ✔ | ✔ |✔ | |
| Linux | ✔ | |✔ |✔ |
| Linux Musl | ✔ | |✔ |✔ |
| Openwrt | ✔ | |✔ |✔ |
| Android | ✔ | | | |
##### 私有部署
- **私有部署:** 私有部署服务端,信息更安全。
- **多平台支持:** 支持`windows``linux``android``docker``openwrt`、各种NAS。
##### 打洞中继
- **打洞连接:** 支持`TCP、UDP、IPV4、IPV6`内含6中打洞方法总有一个适合你。
- **中继连接:** 自建中继节点,支持`多中继节点`
## Features
##### 通信方式
- **异地组网:** 使用虚拟网卡,支持`点对点``点对网``网对网``自动分配虚拟IP`
- **端口转发:** 如果你不喜欢使用虚拟网卡的话。
- **socks5** 区别于端口转发端口转发两端一一对应需要指定端口而socks5代理可以代理所有端口实现类似于点对网的效果。
- **服务器穿透:** 使用端口或域名访问内网服务(支持`计划任务`定时定长自动开启关闭例如每天在上9点自动开启穿透1小时后自动关闭穿透)。
##### P2P & Relaying
- [x] Hole punching connections, supporting TCP, UDP, IPv4, and IPv6
- [x] Relay connections, with self-hosted relay nodes and support for multiple relay nodes
##### 重要功能
- **网段映射:** 使用虚拟网卡可以点对网或者网对网,实现局域网内任意设备间通信,但这样存在一个问题,大多数内网都使用`192.168.1.0/24`这样的网段,多个内网网段冲突了怎么办呢,没关系,内置有网段映射功能,可以设置一个虚假的网段作为路由,映射到你的真实内网网段,比如`192.168.188.0/24->192.168.1.0/24`,就可以使用`192.168.188.2`访问你的`192.168.1.2`
- **应用层NAT** 内置了使用`WinDivert`实现的应用层NAT即使在win7/8win server2008/2012无法使用系统NAT也可以顺利使用点对网和网对网。
- **应用层防火墙** 内置了防火墙功能可以精细控制客户端的访问权限例如只允许A访问B的3389其它客户端无法访问
##### Communication
- [x] Cross-region networking: peer-to-peer, peer-to-network, network-to-network, automatic virtual IP allocation, subnet mapping (resolving multi-LAN subnet conflicts)
- [x] Port forwarding: forwards a client's port to another client's port
- [x] Server penetration: access internal network services via ports or domains (supports scheduled tasks for timed auto-enabling/disabling)
- [x] SOCKS5 proxy: while port forwarding requires specifying ports, the SOCKS5 proxy can handle all ports
##### 其它特性
- **配置加密:** 防止一些二流子扫描文件内容泄露隐私信息。
- **导出导入:** 主客户端可以导出配置信息给子客户端导入,快速配置加入你的网络。
- **权限管理:** 主客户端拥有完全权限,可导出、配置子客户端配置,分配其管理权限,可在线即时修改权限。
- **三方验证:** 通过`HTTP POST`让你可以自定义认证是否允许客户端使用`信标``中继``内网穿透`
- **流量统计:** 实时统计显示`信标``中继``内网穿透` 的流量情况。
- **CDKEY** 可以临时解锁一些限制,中继,内外穿透什么的,方便你分享服务器给朋友使用。
- **使用文档:** 非常详细的<a href="https://linker-doc.snltty.com">使用说明文档</a>
##### Other
- [x] Encrypted configuration files
- [x] Permission management: the main client has full control, allowing the export and configuration of sub-client settings and delegated admin rights
- [x] Custom authentication: via HTTP POST, you can define verification rules for allowing connection beacons, relays, and intranet penetration
- [x] Traffic statistics: monitors traffic for beacons, relays, and intranet penetration on the server
- [x] CD-KEY: temporarily unlocks certain restrictions, such as relays and intranet penetration
- [x] More<a href="https://linker-doc.snltty.com">Documentation</a>
## Development
- [x] Uses the linker.tunnel library for hole punching
- [x] Uses the linker.tun virtual NIC library, including Linux TUN and Windows Wintun adapters, NAT conversion, and subnet mapping
- [x] Uses the linker.snat library for NAT conversion
- [x] Uses linker.messenger.entry for full-feature integration
## Management Website
## ⭐管理页面
<div align="center">
<p><img src="./readme/full.jpg"></p>
</div>
## Support the Author
## 🤝支持作者
<div align="center">
Buy the author a coffee to keep the project alive!
请作者喝一杯咖啡,让作者更有动力更新代码
<p><img src="./readme/qr.jpg" width="360"></p>
</div>
## Special Thanks
## 🚀特别声明
<div align="center">
<a href="https://mi-d.cn" target="_blank">
<img src="https://mi-d.cn/wp-content/uploads/2021/12/cropped-1639494965-网站LOGO无字.png" width="40" style="vertical-align: middle;"> 米多贝克</a>
</div>
本项目已加入 [dotNET China](https://gitee.com/dotnetchina) 组织。<br/>
![dotnetchina](https://images.gitee.com/uploads/images/2021/0324/120117_2da9922c_416720.png "132645_21007ea0_974299.png")